summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStick2017-12-12 15:40:26 -0600
committerStick2017-12-12 15:40:26 -0600
commitf5d9bc0efb4ea3ddf7c1b179ed855bfb0375e6de (patch)
tree9b4c6e9cc66c3be7a973a39a080ab8b98f2b7f03
parent9d285822629a1f69005e095519f5d46c67db6620 (diff)
downloadaur-f5d9bc0efb4ea3ddf7c1b179ed855bfb0375e6de.tar.gz
add .desktop file and verify source
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
-rw-r--r--jmeter.desktop9
3 files changed, 27 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67a56946a74..fda91f3a42f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
# Generated by mksrcinfo v8
-# Fri Dec 8 22:08:22 UTC 2017
+# Tue Dec 12 21:39:46 UTC 2017
pkgbase = jmeter
- pkgdesc = A Java desktop application designed to load test functional behavior and measure performance
+ pkgdesc = Java application designed to load test functional behavior and measure performance
pkgver = 3.3
- pkgrel = 1
+ pkgrel = 2
url = http://jmeter.apache.org/
arch = any
license = apache
depends = java-environment>=8
options = !strip
- source = http://www.us.apache.org/dist//jmeter/binaries/apache-jmeter-3.3.tgz
- source = http://www.us.apache.org/dist//jmeter/binaries/apache-jmeter-3.3.tgz.asc
- md5sums = 16d2239aa3a8f496ac18e53b941d5350
- md5sums = SKIP
+ source = http://www.us.apache.org/dist/jmeter/binaries/apache-jmeter-3.3.tgz
+ source = jmeter.desktop
+ sha256sums = 65ceb4ac492de563b8f62ed782b0709cb86dc9fd8aec096f535ab102b33713a4
+ sha256sums = 5daa950d86d9369fd16669ce42447854cddf50e6d9272758ba012650afe1931e
pkgname = jmeter
diff --git a/PKGBUILD b/PKGBUILD
index 0526f7dbce9..ed57959e607 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,28 @@
-# Maintainer: Viliam Ganz <viliam.ganz@cyberhouse.sk>
-# Contributor: Severus <severus@theslinux.org>
+# Maintainer: Witko <kos.na.bordel@gmail.com>
+# Contributor: Ngo Huy <severus@theslinux.org>
+# Contributor: Dave Reisner <dreisner@archlinux.org>
+# Contributor: Nathaniel Stickney <nstickney@gmail.com>
+# shellcheck disable=SC2034,SC2148,SC2154
pkgname=jmeter
pkgver=3.3
-pkgrel=1
+pkgrel=2
arch=('any')
-pkgdesc="A Java desktop application designed to load test functional behavior and measure performance"
+pkgdesc="Java application designed to load test functional behavior and measure performance"
url="http://jmeter.apache.org/"
license=("apache")
depends=("java-environment>=8")
options=('!strip')
-
-source=("http://www.us.apache.org/dist//jmeter/binaries/apache-${pkgname}-${pkgver}.tgz"{,.asc})
-md5sums=('16d2239aa3a8f496ac18e53b941d5350'
- 'SKIP')
+source=("http://www.us.apache.org/dist/jmeter/binaries/apache-${pkgname}-${pkgver}.tgz" "${pkgname}.desktop")
+sha256sums=('65ceb4ac492de563b8f62ed782b0709cb86dc9fd8aec096f535ab102b33713a4' '5daa950d86d9369fd16669ce42447854cddf50e6d9272758ba012650afe1931e')
validpgpkeys=('C4923F9ABFB2F1A06F08E88BAC214CAA0612B399')
-build() {
- true
-}
package() {
- install -dm755 "$pkgdir/opt/jmeter" "$pkgdir/usr/bin"
-
+ install -dm755 "$pkgdir/opt/jmeter" "$pkgdir/usr/bin" "${pkgdir}/usr/share/applications"
+ install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
cp -a "apache-$pkgname-$pkgver"/* "$pkgdir/opt/jmeter"
ln -s /opt/jmeter/bin/jmeter "$pkgdir/usr/bin/jmeter"
sed -i '/^java/s|`dirname "$0"`|/opt/jmeter/bin|' "$pkgdir/opt/jmeter/bin/jmeter"
-
- gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec "/usr/bin/jmeter"
- install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "$pkgdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
# vim:set ts=2 sw=2 et:
diff --git a/jmeter.desktop b/jmeter.desktop
new file mode 100644
index 00000000000..121867ef27a
--- /dev/null
+++ b/jmeter.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=JMeter
+Comment=Load test Java functional behavior and measure performance
+Terminal=false
+Exec=/usr/bin/jmeter
+Categories=Development;WebDevelopment;Utility;
+StartupNotify=true
+StartupWMClass=code \ No newline at end of file