updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / gnome-network-monitor-svn / PKGBUILD
blobde6d9cffd038a7b615ec8c89f3696dcd9697583a
1 # Contributor : fancris3 <fancris3 at aol.com>
2 # Maintainer: Lucas SaliĆ©s Brum <lucas@archlinux.com.br>
4 pkgname=gnome-network-monitor-svn
5 pkgver=20070515
6 pkgrel=1
7 pkgdesc="A Network Monitor for GNOME"
8 arch=('i686' 'x86_64')
9 url="http://gnetworkmonitor.sourceforge.net/"
10 license="GPL"
11 depends=('pygtk' 'python-pysqlite')
12 source=()
13 md5sums=()
15 _svnroot=https://gnetworkmonitor.svn.sourceforge.net/svnroot/gnetworkmonitor/trunk/
16 _svnmod=trunk
18 build() {
20 msg "Connecting to svn server...."
21 svn co $_svnroot $svnmod
23 msg "svn checkout done or server timeout"
24 msg "Starting make..."
26 cp -r $_svnmod $_svnmod-build
27 cd ${srcdir}/$_svnmod-build
29 sed -i "s|/usr/bin/install|/bin/install|g" Makefile
30 sed -i "s|/usr/bin/install|/bin/install|g" po/Makefile
31 make DESTDIR=$pkgdir install
33 rm -rf ${srcdir}/$_svnmod-build