summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Abernethy2016-02-22 18:45:43 +0100
committerPhilip Abernethy2016-02-22 18:45:43 +0100
commitbc041764dc4e690d4267989d66bb0d0648579192 (patch)
tree89bac7cc7d0e64cc7fad9baeede574ce20e437c6
parent4eeeaf65b674c03a0d11a80e36d386578b80e25b (diff)
downloadaur-bc041764dc4e690d4267989d66bb0d0648579192.tar.gz
Added launcher script in /usr/bin
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85590f7c0427..692dc2116ec0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Feb 17 18:06:50 UTC 2016
+# Mon Feb 22 17:45:01 UTC 2016
pkgbase = litwr
pkgdesc = Life in the Woods Renaissance is a modpack for Minecraft.
pkgver = 20160213
- pkgrel = 1
+ pkgrel = 2
url = http://lifeinthewoods.ca
arch = any
license = GPLv3
diff --git a/PKGBUILD b/PKGBUILD
index ebd4d46b7f79..8f1d720e22a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Philip Abernethy<chais.z3r0@gmail.com>
pkgname=litwr
pkgver=20160213
-pkgrel=1
+pkgrel=2
pkgdesc="Life in the Woods Renaissance is a modpack for Minecraft."
url="http://lifeinthewoods.ca"
arch=('any')
@@ -12,9 +12,14 @@ source=("http://lifeinthewoods.getitfromhere.co.uk/downloads/LifeInTheWoodsRenai
sha512sums=('7a3e450bfacfefa65290a9d683989f1362edfb0d1d45cbae8bd4bceb271e72a6f27ad3b3e124dc8092e58c8732edead236a0ccc67927840e7466cc3253bdfa8b')
package() {
- install -d "${pkgdir}"/{opt/litwr,usr/share/{applications,licenses}}
+ install -d "${pkgdir}"/{opt/litwr,usr/{bin,share/{applications,licenses}}}
install -m644 "${srcdir}"/litwrl.jar "${pkgdir}"/opt/litwr/litwrl.jar
install -m644 "${srcdir}"/utils/appicon.png "${pkgdir}"/opt/litwr/appicon.png
+ cat > "${pkgdir}"/usr/bin/litwr <<EOF
+#!/usr/bin/env sh
+cd /opt/litwr
+java -jar /opt/litwr/litwrl.jar
+EOF
cat > "${pkgdir}"/usr/share/applications/litwr.desktop <<EOF
[Desktop Entry]
Version=1.0