summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorinitrdmk2015-12-08 00:37:22 +0800
committerinitrdmk2015-12-08 00:37:22 +0800
commit81c963531a3595278aeba856b2f4d5f501290271 (patch)
tree40e69677de317a384bf5093e7f2b525de60afec2 /PKGBUILD
parentf2356055be524858e58e9fbfdd4496d01b3d2cb8 (diff)
downloadaur-81c963531a3595278aeba856b2f4d5f501290271.tar.gz
add .desktop file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6603e532038..e141037dca4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,17 @@
# Maintainer: initrdmk <initrdmk at gmail dot com>
pkgname=luyten
pkgver=0.4.4
-pkgrel=1
+pkgrel=2
pkgdesc="An Open Source Java Decompiler Gui for Procyon"
arch=(any)
url="https://github.com/deathmarine/Luyten"
license=('Apache')
depends=('java-runtime')
source=("${pkgname}.sh"
+ "${pkgname}.desktop"
"https://github.com/deathmarine/Luyten/releases/download/v${pkgver}/${pkgname}-${pkgver}.jar")
sha1sums=("d76ce0d7a116b2fa04ca33032b46f896091958aa"
+ "cf7054454537bf97dc8766b74bbb00cd78f7567c"
"d4b8e603f7cde409368c10912c7258da9d8618d0")
noextract=("*")
@@ -21,6 +23,7 @@ package() {
install -m755 $pkgname.sh "$pkgdir/opt/luyten/"
install -m644 *.jar "$pkgdir/opt/luyten/"
+ install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
ln -s "/opt/luyten/${pkgname}-${pkgver}.jar" "$pkgdir/opt/luyten/${pkgname}.jar"
ln -s "/opt/luyten/$pkgname.sh" "$pkgdir/usr/bin/luyten"