summaryrefslogtreecommitdiffstats
path: root/gspoof/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-08-01 09:41:08 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-08-01 09:41:08 +0200
commit995956498f77ace46aff17511948977848d23e30 (patch)
treec35064a482c50d133247cb4272d420e2756c511f /gspoof/PKGBUILD
parent94e6242e2a1465d87f22a659b8ad8b1b8216d430 (diff)
downloadaur-packages-995956498f77ace46aff17511948977848d23e30.tar.gz
aur-packages-995956498f77ace46aff17511948977848d23e30.tar.xz
misc updatesHEADmaster
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'gspoof/PKGBUILD')
-rw-r--r--[-rwxr-xr-x]gspoof/PKGBUILD18
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/"
+}