[arch-commits] Commit in jedit/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Mar 29 08:47:09 UTC 2017


    Date: Wednesday, March 29, 2017 @ 08:47:08
  Author: arodseth
Revision: 219783

upgpkg: jedit 5.4.0-2

Modified:
  jedit/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-29 07:49:53 UTC (rev 219782)
+++ PKGBUILD	2017-03-29 08:47:08 UTC (rev 219783)
@@ -7,7 +7,7 @@
 
 pkgname=jedit
 pkgver=5.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Editor for programmers'
 arch=('any')
 url='http://jedit.org/'
@@ -14,12 +14,10 @@
 license=('GPL')
 depends=('java-runtime' 'bash')
 makedepends=('gendesk')
-optdepends=('java-environment: for java development'
+optdepends=('java-environment=8: for java development'
             'noto-fonts: perfectly usable font')
 options=('!emptydirs')
-source=('jedit.sh'
-        'jeditbg.sh'
-        'jedit.props'
+source=('jedit.sh' 'jeditbg.sh' 'jedit.props'
         "http://sourceforge.net/projects/jedit/files/jedit/$pkgver/jedit-${pkgver}-noarch-1sao.tgz")
 sha256sums=('91d9b4b0c4855c9624ceea8c6b40c90b53fb15a020b6d954f4bb6b4b934e0348'
             '5cf267b6ee1f908ee7e9a830dc98f03a3a4a53db2822fce6a2cb5ed02d444c69'
@@ -27,8 +25,13 @@
             'aed280800bc0d308b824087c1c71857bc4f3cc3011f20d09409298d173b37f6a')
 
 prepare() {
-  gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec 'jeditbg %U' \
-    --name 'jEdit' --genericname 'Editor'
+  # Generate desktop shortcut
+  gendesk -f -n \
+    --pkgname "$pkgname" \
+    --pkgdesc "$pkgdesc" \
+    --genericname 'Editor' \
+    --exec 'jeditbg %U' \
+    --name 'jEdit'
 }
 
 package() {


More information about the arch-commits mailing list