updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ipscan / PKGBUILD
blobc2d82e7b787b20b56c63e0619bef16f847fbe7cc
1 # Contributor: Rorschach <r0schach@lavabit.com>
2 # Maintainer:  max.bra <max dot bra at alice dot it>
4 pkgname=ipscan
5 pkgver=3.0_beta6
6 _pkgintver=3.0-beta6
7 pkgrel=2
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.'
9 arch=('i686' 'x86_64')
10 license=('GPL2')
11 url="http://www.angryziber.com"
12 depends=('java-runtime')
14 _intarch=linux
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 \
27         ipscan.png \
28         ipscan \
29         ipscan.desktop )
31 noextract=($(for i in ${source[@]}; do basename $i; done))
33 build() {
34   /bin/true
37 package() {
38   cd "$srcdir"
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