updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / jsweeper-svn / PKGBUILD
blobaf74214f7eda92b77a65a679464e2bad24da5fa0
1 # Contributor:  Bjoern Lindig < bjoern dot lindig at googlemail dot com >
2 pkgname=jsweeper-svn
3 pkgver=45
4 pkgrel=1
5 pkgdesc="A port connection manager with support for port aliases and port groups."
6 url="http://svn.fuzzle.org/jsweeper/trunk/README.TXT"
7 license=('GPL2')
8 arch=('i686' 'x86_64')
9 depends=('jack' 'gtkmm' 'dbus-glib')
10 makedepends=('cmake')
11 source=(${pkgname}.patch)
13 _svntrunk=http://svn.fuzzle.org/jsweeper/trunk
14 _svnmod=JSweeper
16 build() {
17   cd $srcdir
19   if [ -d $_svnmod/.svn ]; then
20     (cd $_svnmod && svn up)
21   else
22     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
23   fi
25   msg "SVN checkout done or server timeout"
26   msg "Starting make..."
28   rm -rf "$srcdir/$_svnmod-build"
29   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30   cd "$srcdir/$_svnmod-build/src"
31   patch < ${srcdir}/${pkgname}.patch || return 1
32   cd "$srcdir/$_svnmod-build"
34   cmake -DCMAKE_INSTALL_PREFIX=/usr DESTDIR=${pkgdir}  . || return 1
35   make DESTDIR=${pkgdir} install || return 1
38 md5sums=('8fd1e3cf97018bb02aeb5a126c3c3e2c')
39 md5sums=('f7a819fab87494240d28ca9777ead5ae')
40 md5sums=('fc38c07f3f4005961d807d51e4c87787')