summaryrefslogtreecommitdiffstats
path: root/gspoof/PKGBUILD
blob: bc6e8a5a47ddeb6958ed0c559df7af9e4ac49a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Florian Pritz <bluewind@xinu.at>
pkgname=gspoof
pkgver=3.2
pkgrel=2
pkgdesc="IP package generator"
arch=('i686' 'x86_64')
url="http://gspoof.sourceforge.net/"
license=('GPL')
depends=('libnet>=1.1.1' 'gtk2')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('7a1d124a1d0bed87e19b239d559ba880')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  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/"
}