blob: eec8e4fcf3590da9b7f56df51f8404e1604eafa9 (
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
|
# Maintainer: robertfoster
pkgname=ostinato
pkgver=1.3.0
pkgrel=1
url="http://ostinato.org/"
pkgdesc="Cross-platform network packet/traffic generator and analyzer"
arch=('i686' 'x86_64')
depends=('protobuf' 'qt5-base' 'qt5-script' 'libpcap')
optdepends=('wireshark-cli' 'gzip' 'diffutils' 'awk')
license=(GPL)
source=("https://github.com/pstavirs/ostinato/archive/v$pkgver.tar.gz"
"$pkgname.desktop"
"$pkgname.png")
build() {
cd "$srcdir/$pkgname-$pkgver"
QT_SELECT=qt5 qmake PREFIX=/usr -config release
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make INSTALL_ROOT=$pkgdir install
install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
sha256sums=('cbc4ff88ccef3bb6fb5d9ae0b4a3d15509e50817435d09d8d37acb903fbf22d5'
'1afc5727cdd0480a81cc5cd4ae478d0b77086ae4689e3daed44d9693cb874de7'
'f6cba049e6c2f482298a7a15822cfae22f253289529f55687088fe8fc887a930')
|