1 # Contributor: Jinx <Jinxware[at]gmail[dot]com>
6 pkgdesc="Tools for auditing SIP devices"
8 url="http://blog.sipvicious.org"
11 makedepends=('subversion')
12 install="post.install"
14 _svntrunk="http://sipvicious.googlecode.com/svn/trunk"
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting to build package..."
31 rm -rf "$srcdir/$pkgname/.svn"
32 install -d -m 755 "$pkgdir/usr/bin"
33 install -d -m 755 "$pkgdir/usr/share"
37 sed -i "s:/usr/bin/env python:/usr/bin/env python2:" *.py
38 mv "$srcdir/$pkgname" "$pkgdir/usr/share"