evad-svn-112-1

This commit is contained in:
Jaroslav Lichtblau 2014-12-03 11:34:51 +01:00
parent 02f4b6296e
commit d8f072b21d
2 changed files with 9 additions and 10 deletions

View file

@ -1,10 +1,9 @@
pkgbase = evad-svn
pkgdesc = SVN version of a text-based client to the powerful MPD music server.
pkgdesc = SVN version of a text-based client to the powerful MPD music server
pkgver = 112
pkgrel = 1
url = http://sourceforge.net/projects/evad/
arch = i686
arch = x86_64
arch = any
license = GPL
makedepends = subversion
depends = python2

View file

@ -1,10 +1,10 @@
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=evad-svn
pkgver=112
pkgrel=1
pkgdesc="SVN version of a text-based client to the powerful MPD music server."
arch=('i686' 'x86_64')
pkgdesc="SVN version of a text-based client to the powerful MPD music server"
arch=('any')
url="http://sourceforge.net/projects/evad/"
license=('GPL')
depends=('python2' 'mpd')
@ -18,7 +18,7 @@ _svntrunk=http://evad.svn.sourceforge.net/svnroot/evad/trunk
_svnmod=evad
prepare() {
cd ${srcdir}
cd "${srcdir}"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
@ -30,14 +30,14 @@ prepare() {
msg "Starting make..."
if [ -d $_svnmod-build ]; then
(rm -r ${srcdir}/$_svnmod-build && cp -r $_svnmod $_svnmod-build)
(rm -r "${srcdir}"/$_svnmod-build && cp -r $_svnmod $_svnmod-build)
else
cp -r $_svnmod $_svnmod-build
fi
}
package() {
cd ${srcdir}/$_svnmod-build
cd "${srcdir}"/$_svnmod-build
python2 setup.py install --root=${pkgdir}
python2 setup.py install --root="${pkgdir}"
}