diff options
author | Mike Swanson | 2014-09-11 00:47:02 -0700 |
---|---|---|
committer | Mike Swanson | 2014-09-11 00:47:02 -0700 |
commit | dc01146116ef8a684624bdd7d17edcde1d4f5231 (patch) | |
tree | 85a202c63837d5e2be7e6444b85f71027ffd88c9 | |
download | aur-dc01146116ef8a684624bdd7d17edcde1d4f5231.tar.gz |
Adopt chunky
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rwxr-xr-x | chunky.sh | 2 |
4 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bdddec1c0a7c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = chunky + pkgdesc = Chunky is a Minecraft mapping and rendering tool created by Jesper Öqvist. + pkgver = 1.3.1 + pkgrel = 1 + url = http://chunky.llbit.se/ + arch = any + license = GPL3 + makedepends = apache-ant + makedepends = gendesk + makedepends = unzip + depends = java-runtime + noextract = ChunkyLauncher.jar + source = http://chunkyupdate.llbit.se/ChunkyLauncher.jar + source = chunky.sh + md5sums = f1596acc7fa964eedbf3c7d2f51ec469 + md5sums = 44aeea210e55fe35581069a1ac05e57a + +pkgname = chunky + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0aca468d3ee2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pkg.tar* +*.src.tar* +*.jar +src +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d008c7fa8b78 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Daniel Leining <daniel@the-beach.co> +# Old Maintainer: Lakota Morris <lakota[at]lakotamorris[dot]com> +pkgname=chunky +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Chunky is a Minecraft mapping and rendering tool created by Jesper Öqvist." +url="http://chunky.llbit.se/" +arch=('any') +license=('GPL3') +depends=('java-runtime') +makedepends=('apache-ant' 'gendesk' 'unzip') +source=(http://chunkyupdate.llbit.se/ChunkyLauncher.jar + chunky.sh) +noextract=(ChunkyLauncher.jar) +md5sums=('f1596acc7fa964eedbf3c7d2f51ec469' + '44aeea210e55fe35581069a1ac05e57a') + +build() { + gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" + unzip -o -q ChunkyLauncher.jar chunky-cfg.png +} + +package() { + install -Dm755 chunky.sh "$pkgdir/usr/bin/chunky" + install -Dm644 ChunkyLauncher.jar "$pkgdir/usr/share/java/ChunkyLauncher.jar" + install -Dm644 chunky.desktop "$pkgdir/usr/share/applications/chunky.desktop" + install -Dm644 chunky-cfg.png "$pkgdir/usr/share/pixmaps/chunky.png" +} diff --git a/chunky.sh b/chunky.sh new file mode 100755 index 000000000000..9a7eabf8989e --- /dev/null +++ b/chunky.sh @@ -0,0 +1,2 @@ +#!/bin/sh +"$JAVA_HOME/bin/java" -jar /usr/share/java/ChunkyLauncher.jar "$@" |