updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / hexinject / PKGBUILD
blobb2107c3aba01c5f8c6373b91e4c048a9d07450e4
1 # Maintainer: Guillermo Ramos <0xwille at gmail dot com>
3 pkgname="hexinject"
4 pkgver=1.3
5 pkgrel=1
6 pkgdesc="A very versatile packet injector and sniffer, that provide a command-line framework for raw network access"
7 arch=('i686' 'x86_64')
8 url="http://hexinject.sourceforge.net"
9 license=('BSD')
10 depends=('libpcap')
11 source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz/download"
12                 "COPYING")
13 md5sums=('a6f2864e50a270efcf17abf559c5ad30'
14                 '78ee1a3580a696ba78e8903a76c1955a')
15 sha256sums=('7a778728f7e30c0de4a26cc3a54e1ed6b969a8815c89cb8ac35d3cfe358ba6f9'
16                 'd6c66830395da3461a5d599d3cc814f7697c25fac2e1b1ba6d1a64a86d9bddb8')
18 build() {
19         cd "$srcdir/$pkgname"
21         msg "Building..."
22         make
24         msg "Installing..."
25         install -D -m755 $srcdir/$pkgname/hexinject $pkgdir/bin/$pkgname
26         install -D -m755 $srcdir/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING