summaryrefslogtreecommitdiff
path: root/community/packeth/PKGBUILD
blob: f84b064833406ca100c6ab94db4848c9d58ea3e8 (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
28
# $Id: PKGBUILD 115044 2014-07-05 05:58:44Z fyan $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Rudy Matela <rudy.matela@gmail.com>

pkgname=packeth
pkgver=1.7.2
pkgrel=2
pkgdesc="A Linux GUI packet generator tool for ethernet."
depends=(gtk2)
source=("http://downloads.sourceforge.net/packeth/packETH-$pkgver.tar.bz2")
url="http://packeth.sourceforge.net/"
md5sums=('dab613ab413e959cb5c1ef6fd385a041')
arch=('i686' 'x86_64')
license=('GPL')

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

  sed -i 's/^LIBS=/LIBS+=/' Makefile.am
  autoreconf
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/packETH-$pkgver
  make install DESTDIR="$pkgdir/"
}