blob: 5cfd7b7862c555546faf0b650dd3ae8a96f5a61a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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=('any')
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}"
}
|