blob: 8fc94aa6a245fd2f6159ebbd3bbbf2a956647fdf (
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
35
36
37
38
39
|
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: Jack Dähn <jack dot daehn at gmail dot com>
# Contributor: Matthew Prenger <matt at prenger dot co>
set -u
pkgname='bytecode-viewer'
pkgver='2.12'
pkgrel='1'
pkgdesc='A Java decompiler, editor, debugger, and more'
url='https://bytecodeviewer.com'
arch=('any')
license=('GPL3')
depends=('java-runtime>=8')
optdepends=('graal')
source=(
"https://github.com/Konloch/bytecode-viewer/releases/download/v${pkgver}/Bytecode-Viewer-${pkgver}.jar"
'bytecodeviewer'
'bytecodeviewer.png'
'bytecodeviewer.desktop'
)
noextract=("${source[0]##*/}")
md5sums=('faffe4e8b8831c268438332897732b76'
'86f6d2d12561d7098343954b5e73f0c3'
'a3d3b9e14f92bdd44febe05d9981a685'
'bb4cf22a28611b6b3a684ad1d0567c08')
sha256sums=('dc5f6669409d7d0bbba40c735875a39960c1777f11bb13a1819bb12917808c5c'
'fd1d7b95daaff6221904e76663fdb629ac15fe3737add0016729afeb07a19acd'
'380fbc2d958fc5e0c3f7c05b21de83e3d7e956b00ab476439f893f1d10a61a3e'
'24a537c7e5e727457007d75b49d731ae41ad2d355a806553a52cc111f80ecd53')
package() {
set -u
install -Dpm755 'bytecodeviewer' -t "${pkgdir}/usr/bin/"
install -Dpm644 "Bytecode-Viewer-${pkgver}.jar" "${pkgdir}/usr/share/java/bytecodeviewer/bytecodeviewer.jar"
install -Dpm644 'bytecodeviewer.desktop' -t "${pkgdir}/usr/share/applications/"
install -Dpm644 'bytecodeviewer.png' -t "${pkgdir}/usr/share/pixmaps/"
set +u
}
set +u
|