blob: 24d60912ca0133923d7ed021b80e9b5b3cbc92bc (
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
|
# Maintainer: Frederik "Freso" S. Olesen <archlinux@freso.dk>
pkgname=amidst
pkgver='3.6_beta_3'
_jarfile="${pkgname^^}-${pkgver//_/-}.jar"
pkgrel=1
pkgdesc='Advanced Minecraft Interface and Data/Structure Tracking'
arch=('any')
license=('GPL3')
url='http://www.minecraftforum.net/topic/626786-'
depends=('java-runtime')
optdepends=('minecraft: the game itself')
noextract=("$_jarfile")
changelog=ChangeLog
source=("https://bitbucket.org/skiphs/amidst/downloads/$_jarfile"
amidst.sh
amidst.desktop)
md5sums=('4170403c280e92822ded794233632f68'
'783c4040c9736f96ce72e9997833a0bf'
'3c6900ac68e3175768322e684f9f1bcb')
prepare() {
cd "$srcdir"
# Extract icon
bsdcpio --extract --make-directories --insecure 'amidst/resources/icon.png' < "$_jarfile"
}
package() {
cd "$srcdir"
install -vDm755 'amidst.sh' "$pkgdir/usr/bin/amidst"
install -vDm644 'amidst/resources/icon.png' "$pkgdir/usr/share/pixmaps/amidst.png"
install -vDm644 'amidst.desktop' "$pkgdir/usr/share/applications/amidst.desktop"
install -vDm644 "$_jarfile" "$pkgdir/usr/share/java/$pkgname/AMIDST.jar"
}
# vim:set ts=4 sw=4 et:
|