summaryrefslogtreecommitdiff
path: root/community/packeth/PKGBUILD
blob: 7fec455f2c1295ebf8f2f3f0e348fe8e8bec4e8e (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 77004 2012-10-03 15:04:34Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Rudy Matela <rudy.matela@gmail.com>

pkgname=packeth
pkgver=1.7.2
pkgrel=1
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/"
}