updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / e17-places-svn / PKGBUILD
blobb263c097852606b60418c0fc2d530fef468cef6b
1 # Contributor: fancris3 <fancris3 at aol.com>
3 pkgname=e17-places-svn
4 pkgver=37989
5 pkgrel=1
6 pkgdesc="e17 module that manage the mounting of volumes."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/e17mods/wiki/Places"
9 license=('BSD')
10 depends=('e-svn')
11 makedepends=('subversion' 'pkgconfig' 'automake' 'autoconf')
12 provides=('e17-places')
13 options=('!libtool')
14 source=()
15 md5sums=()
17 _svntrunk=http://svn.enlightenment.org/svn/e/trunk/E-MODULES-EXTRA/places
18 _svnmod=places
20 build() {
21   cd $startdir/src
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
28   msg "SVN checkout done or server timeout"
29   msg "Starting make..."
31   rm -r $startdir/src/$_svnmod-build
32   cp -r $_svnmod $_svnmod-build
33   cd $_svnmod-build
35   ./autogen.sh --prefix=/usr
36   make || return 1
37   make DESTDIR=$startdir/pkg/ install
39   install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING