1 # $Id: PKGBUILD,v 1.11 2008/04/07 21:49:29 pressh Exp $
2 # Maintainer: flaper87 <flaper87 at flaper87 dot org>
3 # Contributor: flaper87 <flaper87 at flaper87 dot org>
7 pkgdesc="Entropy is an evfs client used to browse and manage your files and directories."
10 url="http://www.enlightenment.org"
12 depends=('e-cvs' 'evfs-cvs' 'e_dbus-cvs' 'edje-cvs' 'efreet-cvs' 'etk-cvs' 'curl>=7.18.1-1' 'heimdal>=1.0.1-2' 'krb5-crypto')
14 conflicts=('entropy-cvs')
15 provides=('entropy-cvs')
19 _cvsroot=":pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e"
20 _cvsmod="e17/proto/entropy"
24 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
25 if [ -d $_cvsmod/CVS ]; then
29 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
33 msg "CVS checkout done or server timeout"
34 msg "Starting make..."
36 cp -r $startdir/src/$_cvsmod $startdir/src/$_cvsmod-build
37 cd $startdir/src/$_cvsmod-build
39 ./autogen.sh --prefix=/usr --sysconfdir=/etc
41 make DESTDIR=$startdir/pkg install || return 1
43 # install license files
44 install -Dm644 $startdir/src/$_cvsmod-build/COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
45 install -Dm644 $startdir/src/$_cvsmod-build/COPYING-PLAIN $startdir/pkg/usr/share/licenses/$pkgname/COPYING-PLAIN
47 rm -r $startdir/src/$_cvsmod-build