updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / socnetv-svn / PKGBUILD
blobf4773251ce5a9c0bae28f08334ab87ce5d53916d
1 #Contributor: tom tryfonidis <tomtryf [at] gmail [dot] com>
2 #Maintainer: tom tryfonidis <tomtryf [at] gmail [dot] com>
4 pkgname=socnetv-svn
5 realname=socnetv
6 pkgver=610
7 pkgrel=1
8 pkgdesc="Social Networks Analysis and Visualisation"
9 arch=('i686' 'x86_64')
10 url="http://socnetv.sourceforge.net/"
11 license=('GPL3')
12 depends=( 'qt')
13 makedepends=('subversion')
14 source=()
15 md5sums=()
17 _svntrunk="http://socnetv.svn.sourceforge.net/svnroot/socnetv/trunk"
18 _svnmod="socnetv"
20 build() {
21 cd $startdir/src
23 msg "Starting SVN checkout..."
24         if [ -d $_svnmod/.svn ]; then
25                 (cd $_svnmod && svn up -r $pkgver)
26         else
27                 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28         fi
29 msg "SVN checkout done or server timeout"
31 msg "Starting Configure..."
32         cp -a ${srcdir}/${_svnmod} ${srcdir}/${_svnmod}-build
33         cd ${srcdir}/${_svnmod}-build
34         ./configure --prefix=/usr
36 msg "Starting make..."
37         make || return 1
38         make install DESTDIR="${pkgdir}/"  || return 1
40 msg "Removing leftover files..."
41         rm -rf ${srcdir}/${_svnmod}-build