summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndřej Hruška2015-06-14 21:18:59 +0200
committerOndřej Hruška2015-06-14 21:18:59 +0200
commita0980a9598029b6d269c432f4c345980934126e6 (patch)
tree333212bb49ede62779dd4904f2ac6d16a82e046e
downloadaur-a0980a9598029b6d269c432f4c345980934126e6.tar.gz
Source import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD39
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..71d9967ae0b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = rpw
+ pkgdesc = Minecraft resource pack editor by MightyPork
+ pkgver = 4.1.0
+ pkgrel = 1
+ url = http://www.ondrovo.com/rpw
+ arch = any
+ license = MIT
+ depends = java-runtime
+ optdepends = gimp: Editing textures
+ optdepends = audacity: Editing sound files
+ provides = rpw
+ source = https://dl.dropboxusercontent.com/u/64454818/RPW/RPW-4-1-0.jar
+ source = https://raw.githubusercontent.com/MightyPork/rpw/master/LICENSE.txt
+ md5sums = d2d0f235d0b9e9cffaa1b0653a4aa6b8
+ md5sums = b7c9c0001311f4acd9847b115f72f90b
+
+pkgname = rpw
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..014104b2ffa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Ondřej Hruška <ondra@ondrovo.com>
+
+pkgname=rpw
+
+pkgver=4.1.0
+FNAME="RPW-4-1-0.jar"
+pkgrel=1
+
+pkgdesc="Minecraft resource pack editor by MightyPork"
+arch=('any')
+url='http://www.ondrovo.com/rpw'
+license=('MIT')
+
+
+depends=('java-runtime')
+source=("https://dl.dropboxusercontent.com/u/64454818/RPW/$FNAME"
+ 'https://raw.githubusercontent.com/MightyPork/rpw/master/LICENSE.txt')
+
+optdepends=('gimp: Editing textures'
+ 'audacity: Editing sound files')
+
+provides=('rpw')
+
+md5sums=('d2d0f235d0b9e9cffaa1b0653a4aa6b8'
+ 'b7c9c0001311f4acd9847b115f72f90b')
+
+
+package() {
+ # install license
+ install -Dm 644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # install files in /usr/share
+ install -Dm 755 "${srcdir}/${FNAME}" "${pkgdir}/usr/share/${pkgname}/RPW.jar"
+
+ # generate a launcher script
+ echo -e "#!/bin/bash\nexec /usr/bin/java -jar '/usr/share/${pkgname}/RPW.jar' \"\$@\"\n" > "${srcdir}/launcher.sh"
+
+ install -Dm 755 "${srcdir}/launcher.sh" "${pkgdir}/usr/bin/rpw"
+}