blob: dce08bb5aa9bd0224a5da2c9fe2c44a2163c20af (
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
40
|
# Maintainer: Opty <opty@hotmail.fr>
_gitname=JRomManager
pkgbase=jrommanager-bin
pkgname=jrommanager-bin
pkgver=2.5.0
pkgrel=1
pkgdesc='A Rom Manager entirely written in Java and released under GPL v2'
arch=('any')
license=('GPL-2')
url="https://github.com/optyfr/JRomManager"
depends=('java-runtime>=11')
source=("https://github.com/optyfr/${_gitname}/releases/download/${pkgver}/${_gitname}-${pkgver}.zip"
"${_gitname}.desktop"
"${_gitname}.png"
"${_gitname}.sh")
options=(!strip)
package() {
install -d -m755 "${pkgdir}/usr/share/java/${pkgname}/"
install -d -m755 "${pkgdir}/usr/share/java/${pkgname}/lib/"
install -m644 lib/*.jar "${pkgdir}/usr/share/java/${pkgname}/lib/"
install -m644 *.jar "${pkgdir}/usr/share/java/${pkgname}/"
install -Dm755 *.sh "${pkgdir}/usr/share/java/${pkgname}/"
cp -dpr --no-preserve=ownership certs "${pkgdir}/usr/share/java/${pkgname}/"
cp -dpr --no-preserve=ownership webclient "${pkgdir}/usr/share/java/${pkgname}/"
cp -dpr --no-preserve=ownership wrapper "${pkgdir}/usr/share/java/${pkgname}/"
install -Dm755 ${_gitname}.sh "${pkgdir}/usr/bin/${pkgname}"
install -D ${_gitname}.desktop "${pkgdir}/usr/share/applications/${_gitname}.desktop"
install -D ${_gitname}.png "${pkgdir}/usr/share/pixmaps/${_gitname}.png"
}
# makepkg -g >> PKGBUILD
md5sums=('fd287035dfecb44fa2dd470136a5374c'
'0b48b210cac43d094a01295534a68e70'
'aa359e0e6eedc95e172355b83b2c6235'
'12b2b7268a0034338d2eedc8c875f5aa')
|