updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / emphasis-svn / PKGBUILD
blob6d3ade7507c94fd4cd904ea98d7da08b78be9e85
1 # Contributor: Reverie <reverie@takhis.net>
3 arch=(i686 x86_64)
4 pkgname=emphasis-svn
5 pkgver=35554
6 pkgrel=1
7 pkgdesc="Music player daemon (MPD) client written in etk"
8 url="http://www.enlightenment.org"
9 license="GPL"
10 depends=('enhance-svn' 'libmpd')
11 makedepends=('subversion')
12 conflicts=('emphasis')
13 provides=('emphasis')
14 replaces=('emphasis-cvs')
15 source=()
16 md5sums=()
18 _svntrunk=http://svn.enlightenment.org/svn/e/trunk/emphasis
19 _svnmod=emphasis
21 build() {
22   cd $startdir/src
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up -r $pkgver)
26   else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
33   cp -r $_svnmod $_svnmod-build
34   cd $_svnmod-build
36   ./autogen.sh --prefix=/usr
37   make || return 1
38   make DESTDIR=$startdir/pkg/ install
40   rm -rf $startdir/src/$_svnmod-build
43 # vim:syntax=sh