updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / rage-svn / PKGBUILD
blob6f672ea3599fbe5c0e5d90ade9b1ce96ffb0ae35
1 # Contributor: Fabio Falcinelli <fabio.falcinelli@gmail.com>
2 pkgname=rage-svn
3 pkgver=40500
4 pkgrel=1
5 pkgdesc="An Enlightened multimedia library browser"
6 arch=('i686' 'x86_64')
7 license=('BSD')
8 url="http://www.enlightenment.org"
9 makedepends=('subversion')
10 conflicts=('rage')
11 provides=('rage')
12 raplaces=('rage-cvs')
13 depends=('eet' 'evas' 'ecore' 'edje' 'emotion' 'xine-lib')
14 source=(rage.desktop)
15 md5sums=('7e56125cc786187267a33cb3ef7a9465')
17 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/rage"
18 _svnmod="rage"
20 build() {
21   cd $srcdir
23   msg "Connecting to $_svntrunk SVN server...."
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/ --disable-static
38   make || return 1
39   make DESTDIR=$startdir/pkg install
40   install -D -m644 $startdir/src/rage.desktop $startdir/pkg/usr/share/applications/rage.desktop
41   install -D -m644 AUTHORS $startdir/pkg/usr/share/licenses/$pkgname/AUTHORS
42   install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
44   rm -r $srcdir/$_svnmod-build