summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
-rw-r--r--imunes.desktop9
3 files changed, 20 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ce048b2254a0..4f27b0129e0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = imunes
pkgdesc = Integrated Multiprotocol Network Emulator/Simulator
pkgver = 2.3.0
- pkgrel = 1
+ pkgrel = 2
url = http://imunes.net/
arch = any
license = custom
@@ -14,8 +14,10 @@ pkgbase = imunes
depends = xterm
source = imunes-2.3.0.tar.gz::https://github.com/imunes/imunes/archive/v2.3.0.tar.gz
source = 0001-PKGBUILD-compat.patch
+ source = imunes.desktop
sha1sums = 0d1c6fd1ce4afe31735d4dc46ae2ca4ddc74156a
sha1sums = 4d68f7f685222a23bb7d54d5cff78aa2da628135
+ sha1sums = 2faf04ac32133b560f2e864493a2e56fa44174dc
pkgname = imunes
diff --git a/PKGBUILD b/PKGBUILD
index 03c066a24237..265314dd21d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: Henry-Joseph Audéoud <h.audeoud@gmail.com>
#
-# From imunes-git
+# From imunes-git package:
# Contributor: Denis Salopek <denis.sale@gmail.com>
# Contributor: Robin Nehls <aur@manol.is>
pkgname=imunes
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="Integrated Multiprotocol Network Emulator/Simulator"
arch=(any)
url="http://imunes.net/"
@@ -15,9 +15,11 @@ depends=('tk' 'tcllib' 'wireshark-qt' 'imagemagick' 'docker' 'openvswitch' 'xter
makedepends=()
provides=()
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/imunes/${pkgname}/archive/v${pkgver}.tar.gz"
- '0001-PKGBUILD-compat.patch')
+ '0001-PKGBUILD-compat.patch'
+ "${pkgname}.desktop")
sha1sums=('0d1c6fd1ce4afe31735d4dc46ae2ca4ddc74156a'
- '4d68f7f685222a23bb7d54d5cff78aa2da628135')
+ '4d68f7f685222a23bb7d54d5cff78aa2da628135'
+ '2faf04ac32133b560f2e864493a2e56fa44174dc')
prepare() {
cd "${pkgname}-${pkgver}" || exit
@@ -27,7 +29,8 @@ prepare() {
package() {
cd "${pkgname}-${pkgver}" || exit
make PREFIX="${pkgdir}/usr" REALPREFIX=/usr install
- install -D COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
}
# vim:set ts=2 sw=2 et:
diff --git a/imunes.desktop b/imunes.desktop
new file mode 100644
index 000000000000..deb9af055f2b
--- /dev/null
+++ b/imunes.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=IMUNES
+Type=Application
+Comment=Integrated Multiprotocol Network Emulator/Simulator
+Exec=imunes
+Icon=/usr/lib/imunes/icons/imunes_icon256.png
+Terminal=false
+Categories=Application