Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit 02f4b6296e
2 changed files with 59 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = evad-svn
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
license = GPL
makedepends = subversion
depends = python2
depends = mpd
provides = evad
conflicts = evad
pkgname = evad-svn

43
PKGBUILD Normal file
View file

@ -0,0 +1,43 @@
# Contributor: 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')
url="http://sourceforge.net/projects/evad/"
license=('GPL')
depends=('python2' 'mpd')
makedepends=('subversion')
provides=('evad')
conflicts=('evad')
source=()
md5sums=()
_svntrunk=http://evad.svn.sourceforge.net/svnroot/evad/trunk
_svnmod=evad
prepare() {
cd ${srcdir}
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d $_svnmod-build ]; then
(rm -r ${srcdir}/$_svnmod-build && cp -r $_svnmod $_svnmod-build)
else
cp -r $_svnmod $_svnmod-build
fi
}
package() {
cd ${srcdir}/$_svnmod-build
python2 setup.py install --root=${pkgdir}
}