blob: deabf1878f97797024dee2571cc32040e5ded289 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Denis Borisevich <elfmax@tut.by>
# Maintainer: Tyr Heimdal <tyr.heimdal@warning.no>
pkgname=jeveassets
pkgver=6.9.3
pkgrel=1
pkgdesc="Out-of-game asset manager for Eve-Online, written in Java"
arch=('any')
url="http://eve.nikr.net/jeveasset"
license=('GPL2')
depends=('jre8-openjdk' 'unzip')
install=$pkgname.install
source=(
"https://github.com/GoldenGnu/jeveassets/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.zip"
"https://eve.nikr.net/${pkgname}/data.zip"
"packagemanager.properties"
"$pkgname.desktop"
"${pkgname}_16x16.png"
"${pkgname}_32x32.png"
"${pkgname}_64x64.png"
"$pkgname.sh")
sha256sums=('f1e59451d49eb375a965258632bf11fa07f84ac27df410e1896a98ccc96af633'
'9bdd9750a19f55a4a7ca53afb04f88f34a71b60eb653832991159b6dcd3f9a88'
'0203673802ba5102e8acae19c463ab1cd79663653cce38431362367d220f951e'
'99dd564f33ea7e7a71980b829125207a53a18c2c31f5907d1e8842b64217d69b'
'23ff2740653dddaafc0a40dcdadfa667a55d28389088dda8bc6eca1c66298150'
'392c10b8b5c9f467eaf915542d5c0737d25ee44d0f14e14ca1099839fdc09daa'
'c488589609bff3e2d60f191fb3bc149b19f31c6b3c25400a87639faf35126878'
'eb94c90e9da414f351e027f4ddaae12ab563f5babbf0dfdbf9c13c7aa583c354')
package() {
install -d "$pkgdir/opt/"
cp -dr --no-preserve=ownership "$srcdir/jEveAssets" "$pkgdir/opt/"
install -Dm644 "$startdir/packagemanager.properties" "$pkgdir/opt/jEveAssets/packagemanager.properties"
install -d "$pkgdir/usr/bin/"
cp -dr --no-preserve=ownership "$srcdir/jeveassets.sh" "$pkgdir/usr/bin"
install -Dm755 "$startdir/jeveassets.sh" "$pkgdir/usr/bin/jeveassets.sh"
install -d "$pkgdir/usr/share/applications/"
cp -dr --no-preserve=ownership "$srcdir/jeveassets.desktop" "$pkgdir/usr/share/applications/"
for res in 16x16 32x32 64x64
do
install -Dm644 "$srcdir/${pkgname}_${res}.png" \
"$pkgdir/usr/share/icons/hicolor/${res}/apps/jEveAssets.png"
done
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
|