blob: 669ae2037a6a5c433ca0200c946476306434fe01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: mksegv <mingkaidong at gmail dot com>
pkgname=luyten-bin
_pkgname=luyten
pkgver=0.5.4
pkgrel=1
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/v0.5.4_Rebuilt_with_Latest_depenencies/luyten-0.5.4.jar")
sha1sums=('d76ce0d7a116b2fa04ca33032b46f896091958aa'
'9dd85a05520c47c0e093af16e3a044b21aa6421b'
'feb251951c780394430aaa679bbf8461e6dc35cb')
noextract=("${_pkgname}-${pkgver}.jar")
package() {
cd "$srcdir"
mkdir -p "$pkgdir/usr/bin/"
mkdir -p "$pkgdir/opt/luyten/lib/"
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"
}
# vim:set ts=2 sw=2 et:
|