diff options
Diffstat (limited to 'gspoof')
-rw-r--r--[-rwxr-xr-x] | gspoof/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gspoof/PKGBUILD b/gspoof/PKGBUILD index 89f5274..bc6e8a5 100755..100644 --- a/gspoof/PKGBUILD +++ b/gspoof/PKGBUILD @@ -1,12 +1,12 @@ -# Maintainer: Florian Pritz <f-p@gmx.at> +# Maintainer: Florian Pritz <bluewind@xinu.at> pkgname=gspoof pkgver=3.2 -pkgrel=1 +pkgrel=2 pkgdesc="IP package generator" arch=('i686' 'x86_64') url="http://gspoof.sourceforge.net/" license=('GPL') -depends=('libnet>=1.1.1' 'gtk') +depends=('libnet>=1.1.1' 'gtk2') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) noextract=() md5sums=('7a1d124a1d0bed87e19b239d559ba880') @@ -15,9 +15,13 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr - make || return 1 - install -D -m755 $pkgname $pkgdir/usr/sbin/$pkgname - install -d $pkgdir/usr/share/$pkgname - cp -r pixmap $pkgdir/usr/share/$pkgname/pixmap/ + make } +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m755 "$pkgname" "$pkgdir/usr/sbin/$pkgname" + install -d "$pkgdir/usr/share/$pkgname" + cp -r pixmap "$pkgdir/usr/share/$pkgname/pixmap/" +} |