diff options
author | Philip Abernethy | 2016-02-22 18:45:43 +0100 |
---|---|---|
committer | Philip Abernethy | 2016-02-22 18:45:43 +0100 |
commit | bc041764dc4e690d4267989d66bb0d0648579192 (patch) | |
tree | 89bac7cc7d0e64cc7fad9baeede574ce20e437c6 | |
parent | 4eeeaf65b674c03a0d11a80e36d386578b80e25b (diff) | |
download | aur-bc041764dc4e690d4267989d66bb0d0648579192.tar.gz |
Added launcher script in /usr/bin
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -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 @@ -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 |