summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10bbb863adf61b9fe31427fd4a6dbe9225db301d (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
29
30
31
32
33
34
35
36
37
38
# Maintainer:  Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: xav <xav at ethertricks dot net>
# Contributor: Nathan O <ndowens.aur at gmail dot com>

set -u
pkgname='hyenae'
pkgver='0.36_1'
pkgrel='1'
pkgdesc='A highly flexible platform independent network packet generator. It allows you to reproduce several MITM, DoS and DDoS attack scenarios'
arch=('i686' 'x86_64')
url='https://sourceforge.net/projects/hyenae/'
license=('GPL3')
depends=('libpcap' 'libdnet')
_srcdir="${pkgname}-${pkgver//_/-}"
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgver//_/-}/${_srcdir}.tar.gz")
sha256sums=('8f752061c0ba8ce3e771bf03b1d9c18849d7e1d91751323971e42695ac277db8')

prepare(){
  set -u
  cd "${_srcdir}"
  ./configure --prefix='/usr' --mandir='/usr/share/man'
  set +u
}

build(){
  set -u
  cd "${_srcdir}"
  make -s -j1 # not big enough for multi processors
  set +u
}

package(){
  set -u
  cd "${_srcdir}"
  make -j1 DESTDIR="${pkgdir}" install
  set +u
}
set +u