updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / xarchiver-svn / PKGBUILD
blobe024088803306629ebf3b89ca863decdde591129
1 # Contributor: VuDu <vudu 'dot' curse 'at' gmail 'dot' com>
3 pkgname=xarchiver-svn
4 pkgver=42
5 pkgrel=1
6 pkgdesc="A lightweight desktop independent archive manager built with the GTK+2 toolkit"
7 arch=('any')
8 license=('GPL2')
9 groups=
10 url="http://xarchiver.sourceforge.net/"
11 depends=('desktop-file-utils' 'gtk2' 'hicolor-icon-theme')
12 makedepends=('intltool' 'pkgconfig' 'subversion')
13 options=('!libtool')
14 conflicts=('xarchiver')
15 provides=('xarchiver')
16 install=(${pkgname}.install)
17 source=(${pkgname}.install)
18 md5sums=('6abc60b8363b3b061baa4ac0b2408fb6')
20 _svntrunk="http://xarchiver.svn.sourceforge.net/svnroot/xarchiver/trunk"
21 _svnmod=xarchiver
23 build() {
24   cd ${startdir}/src
26   msg "Starting SVN checkout..."
27   
28   if [ -d $_svnmod/.svn ]; then
29     (cd $_svnmod && svn up -r $pkgver)
30   else
31     svn co $_svntrunk $_svnmod
32   fi
34   msg "SVN checkout done or server timeout"
35   msg "Starting make..."
37   cp -r $_svnmod $_svnmod-build
38   cd $_svnmod-build
40   ./autogen.sh --prefix=/usr
41   make || return 1
42   make DESTDIR=${pkgdir} install || return 1
45 # vim:syntax=sh