summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302020-07-12 20:55:22 +0200
committerM0Rf302020-07-12 20:55:22 +0200
commitb5ed18adcadf5fe105585bbfea5e05e232add1d3 (patch)
treefbeaee18b224ea6d94764818c1324d4040b0da9b
parent0c65d554caf0cc5f8ed0bf758be85b52e02c9e4f (diff)
downloadaur-b5ed18adcadf5fe105585bbfea5e05e232add1d3.tar.gz
ostinato: some desktop candies
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
-rw-r--r--ostinato.desktop9
-rw-r--r--ostinato.pngbin0 -> 43009 bytes
4 files changed, 27 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 49c18c469093..4ac31aa10c3d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ostinato
pkgdesc = Cross-platform network packet/traffic generator and analyzer
pkgver = 1.1
- pkgrel = 1
+ pkgrel = 2
url = http://ostinato.org/
arch = i686
arch = x86_64
@@ -14,7 +14,11 @@ pkgbase = ostinato
optdepends = diffutils
optdepends = awk
source = https://github.com/pstavirs/ostinato/archive/v1.1.tar.gz
+ source = ostinato.desktop
+ source = ostinato.png
md5sums = 3cd0cce3e368c64eb531a6eba2cdee1f
+ md5sums = 87e4dbdde1a16e6db537b2d01ed0a798
+ md5sums = 5ddf0b07a4a088630ed6655869f8d2aa
pkgname = ostinato
diff --git a/PKGBUILD b/PKGBUILD
index fb06dc6db371..05576256696e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,30 @@
pkgname=ostinato
pkgver=1.1
-pkgrel=1
+pkgrel=2
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)
+source=("https://github.com/pstavirs/ostinato/archive/v$pkgver.tar.gz"
+ "$pkgname.desktop"
+ "$pkgname.png")
-build(){
- cd $srcdir/$pkgname-$pkgver
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
QT_SELECT=qt5 qmake PREFIX=/usr -config release
make
}
-package(){
- cd $srcdir/$pkgname-$pkgver
+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"
}
-md5sums=('3cd0cce3e368c64eb531a6eba2cdee1f')
+md5sums=('3cd0cce3e368c64eb531a6eba2cdee1f'
+ '87e4dbdde1a16e6db537b2d01ed0a798'
+ '5ddf0b07a4a088630ed6655869f8d2aa')
diff --git a/ostinato.desktop b/ostinato.desktop
new file mode 100644
index 000000000000..68b6cd944126
--- /dev/null
+++ b/ostinato.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Ostinato
+Comment=Packet/Traffic Generator and Analyzer
+Icon=ostinato
+Exec=ostinato
+Terminal=false
+Categories=Application;Network;
+StartupWMClass=ostinato
diff --git a/ostinato.png b/ostinato.png
new file mode 100644
index 000000000000..83337b7ca314
--- /dev/null
+++ b/ostinato.png
Binary files differ