updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / enlil-svn / PKGBUILD
blob724e07750c6948e827f262301ad6ed93e1c6bcf3
1 # Contributor: twa022 <twa022 at gmail dot com>
3 pkgname=enlil-svn
4 pkgver=66610
5 pkgrel=1
6 pkgdesc="Photo management library for E17"
7 arch=('i686' 'x86_64')
8 url="http://www.enlightenment.org"
9 license=('LGPL2.1')
10 depends=('ecore-svn' 'eet-svn' 'ethumb-svn' 'libexif' 'libiptcdata' 'libxml2' 'flickcurl' 'azy-svn' 'eio-svn')
11 makedepends=('svn')
12 options=('!libtool')
13 source=()
14 md5sums=()
16 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/enlil"
17 _svnmod="enlil"
19 build() {
20    cd $srcdir
22 msg "Connecting to $_svntrunk SVN server...."
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up -r $pkgver)
25   else
26     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27   fi
29   msg "SVN checkout done or server timeout"
30   msg "Starting make..."
32   cp -r $_svnmod $_svnmod-build
33   cd $_svnmod-build
35   ./autogen.sh --prefix=/usr
37   make || return 1
38   make DESTDIR=$pkgdir install || return 1
40 # install license files
41   install -Dm644 $srcdir/$_svnmod-build/COPYING \
42         $pkgdir/usr/share/licenses/$pkgname/COPYING
44   install -Dm644 $srcdir/$_svnmod-build/COPYING-PLAIN \
45         $pkgdir/usr/share/licenses/$pkgname/COPYING-PLAIN
47   rm -r $startdir/src/$_svnmod-build