updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / elsa-svn-arch / PKGBUILD
blob0e2d4a1c5919928a8a82d5c53bc91a37e9a3ddc5
1 # Maintainer : libernux <libernux55@gmail.com>
3 pkgname=elsa-svn-arch
4 pkgver=62858
5 pkgrel=1
6 pkgdesc="E17 display manager"
7 url="http://trac.enlightenment.org/e"
8 license=("GPL3")
9 arch=("i686" "x86_64")
10 provides=('elsa')
11 conflicts=('entrance')
12 depends=('elementary-svn')
13 makedepends=('subversion')
14 source=("elsa.pam" "elsa.conf")
15 md5sums=('8162a1043977dd96401082c3a5fa2c36'
16          'be00acf967616ba8d8b794fc15ac67a0')
18 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/PROTO/elsa/"
19 _svnmod="elsa"
21 build ()
23         cd $srcdir
25         msg "Connecting to $_svntrunk SVN server...."
26         if [ -d $_svnmod/.svn ]; then
27                 (cd $_svnmod && svn up -r $pkgver)
28         else
29                 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30         fi
32         msg "SVN checkout done or server timeout"
33         msg "Starting make..."
35         cp -r $_svnmod $_svnmod-build
36         cd $_svnmod-build
37         ./autogen.sh --prefix=/usr --sysconfdir=/etc
38         make
41 package()
43         cd $srcdir/$_svnmod-build
44         make DESTDIR=$pkgdir install
46         install -Dm644 $startdir/elsa.pam \
47         $pkgdir/etc/pam.d/elsa
49         install -Dm644 $startdir/elsa.conf \
50         $pkgdir/etc/elsa.conf
52         rm -r $srcdir/$_svnmod-build