updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ipsc / PKGBUILD
blob021580ceba76e5e61f76314713cbf2286d921ea7
1 pkgname=ipsc
2 pkgver=0.4.3
3 pkgrel=5
4 pkgdesc="Allows network administrators to make calculations that will assist in subnetting a network"
5 arch=(i686 x86_64)
6 url="http://packages.ubuntu.com/dapper/ipsc"
7 license=('GPL')
8 source=(http://old-releases.ubuntu.com/ubuntu/pool/universe/i/ipsc/ipsc_0.4.3.orig.tar.gz http://old-releases.ubuntu.com/ubuntu/pool/universe/i/ipsc/ipsc_0.4.3-2.diff.gz http://ftp.de.debian.org/debian/pool/main/p/prips/prips_0.9.4.orig.tar.gz)
9 md5sums=('0adc2e6073d4aaba8a2e43215d9d25a0' 'e08a7f11e60223d59de0c5df93e99c24' 'e09f2825c81c44a7e27528b942989d61')
11 build() {
12   cd "$srcdir/$pkgname-$pkgver"
14   patch -p1 < ../ipsc_0.4.3-2.diff
16   for file in debian/patches/*.dpatch
17   do
18     sh $file -patch
19   done
21   cd "$srcdir/$pkgname-$pkgver/src"
23   cp $srcdir/prips-0.9.4/prips.* $srcdir/$pkgname-$pkgver/src/
25   make ipsc
27   mkdir -p $pkgdir/usr/bin
28   cp ipsc $pkgdir/usr/bin/
31 # vim:set ts=2 sw=2 et: