1 # Contributor: Rorschach <r0schach@lavabit.com>
2 # Maintainer: max.bra <max dot bra at alice dot it>
8 pkgdesc='Angry IP Scanner (or simply ipscan) is an open-source and cross-platform network scanner designed to be fast and simple to use. It scans IP addresses and ports as well as has many other features.'
11 url="http://www.angryziber.com"
12 depends=('java-runtime')
15 md5sums=('1ded2627b4d6102062972f93e5301900'
16 '59de9b8055fe037c77bf8339eee31b85'
17 '5b1c941c32a444803677a2061aa55a70'
18 '6a8f7a0fb70cf2c801ff5422870609f9')
20 [ "$CARCH" = "x86_64" ] && _intarch=linux64
21 [ "$CARCH" = "x86_64" ] && md5sums=('209f58d0165fc960a790bf988cc6b3ab'
22 '59de9b8055fe037c77bf8339eee31b85'
23 '5b1c941c32a444803677a2061aa55a70'
24 '6a8f7a0fb70cf2c801ff5422870609f9')
26 source=(http://downloads.sourceforge.net/project/ipscan/ipscan3-binary/$_pkgintver/ipscan-$_intarch-$_pkgintver.jar \
31 noextract=($(for i in ${source[@]}; do basename $i; done))
39 install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname || return 1
40 install -Dm644 $pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png || return 1
41 install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop || return 1
42 install -Dm644 $pkgname-$_intarch-$_pkgintver.jar $pkgdir/usr/share/java/$pkgname/$pkgname-$_intarch-$_pkgintver.jar || return 1