updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / autoscan / PKGBUILD
blob2967f4c1d28db1a7d01ccc7aefc5847d6d0aa971
1 # Maintainer: Nathan Owe <ndowens04+AUR at gmail.com>
2 pkgname=autoscan
3 pkgver=1.50
4 pkgrel=1
5 pkgdesc="Utility for network exploration"
6 url="http://autoscan-network.com"
7 depends=('net-snmp' 'libelf' 'gtk-vnc' 'libgnomeui' 'vte')
8 makedepends=('gconf')
9 source=(http://autoscan.fr/download_files/$pkgname-network-$pkgver.tar.gz 'autoscan-network')
10 arch=('i686' 'x86_64')
11 license=('GPL')
12 install=$pkgname.install
13 md5sums=('37b2a11f30acf89b72eb1eef3f0a5844'
14          '98583cd427e829b09035c7833fb0c294')
16 build() {
17     cd $srcdir/autoscan-network-$pkgver
18     install -d $pkgdir/{usr/sbin,etc/rc.d,etc/conf.d}
19     ./configure --distrib-Linux
20     make || return 1
21     make DESTDIR=$pkgdir install 
22     install -m755 $srcdir/autoscan-network $pkgdir/etc/rc.d/ || return 1
23      chmod -R a+r $pkgdir/usr/share/pixmaps/autoscan-network/
24     chmod -R a+rx $pkgdir/usr/share/pixmaps/autoscan-network/{Onglet/,Network/,Modes/,Animation/,Equipment/,Type/,Modules/,Port}
25    install -m755 bin/{autoscan-network,autoscan-network-daemon} $pkgdir/usr/sbin/
26     
27      }