summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50db8e74c3de98b891307b3b8658d93a12f55f6b (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
# Maintainer: robertfoster

pkgname=ostinato
pkgver=1.0
pkgrel=1
url="http://ostinato.org/"
pkgdesc="Cross-platform network packet/traffic generator and analyzer"
source=("https://github.com/pstavirs/ostinato/archive/v$pkgver.tar.gz")
arch=('i686' 'x86_64')
depends=('protobuf' 'qt5-base' 'libpcap')
optdepends=('wireshark-cli' 'gzip' 'diffutils' 'awk')
license=(GPL)

build(){
	cd $srcdir/$pkgname-$pkgver
	QT_SELECT=qt5 qmake PREFIX=/usr -config release
	make
}

package(){
	cd $srcdir/$pkgname-$pkgver
	make INSTALL_ROOT=$pkgdir install
}

md5sums=('51a5e89f7e84b95e6c54e08505021743')