summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss2016-05-17 11:17:01 +0200
committerLuca Weiss2016-05-17 11:17:01 +0200
commit546b12b9c51882da716ed7defd7bcf32829e36ff (patch)
tree4be84ca9ddfa3752395bb860416473fc2fea5078
parent1f1c9c2d5ab5ff4a26690ee06eb10cc18929bb65 (diff)
downloadaur-546b12b9c51882da716ed7defd7bcf32829e36ff.tar.gz
update
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD25
-rw-r--r--hyperlightdrifter.desktop11
3 files changed, 33 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f97435f45b4..f35b6e211de 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun May 8 14:51:35 UTC 2016
+# Tue May 17 09:09:08 UTC 2016
pkgbase = hyperlightdrifter
pkgdesc = A 2D action role-playing game (Humble Version)
- pkgver = 2016.04.18
+ pkgver = 2016.05.09
pkgrel = 1
url = http://www.heart-machine.com/
arch = i686
@@ -13,9 +13,11 @@ pkgbase = hyperlightdrifter
depends = openal
depends = libxcursor
depends = libpulse
- noextract = HyperLightDrifter-DRMFree-Linux-2016-04-18.sh
- source = local://HyperLightDrifter-DRMFree-Linux-2016-04-18.sh
- md5sums = bae67eb8b26eb10389161992f0257c2c
+ noextract = HyperLightDrifter-DRMFree-Linux-2016-05-09.sh
+ source = local://HyperLightDrifter-DRMFree-Linux-2016-05-09.sh
+ source = hyperlightdrifter.desktop
+ md5sums = 2fda541fb3f089a27dd34867f17eb830
+ md5sums = 060673538dadaf471bef5e83475ddf4e
depends_x86_64 = lib32-libcurl-compat
depends_x86_64 = lib32-openal
depends_x86_64 = lib32-libxcursor
diff --git a/PKGBUILD b/PKGBUILD
index 96277ee29ba..e03ef74ab0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: Luca Weiss <WEI16416@spengergasse.at>
-# Contributor: markzz <mark dot weiman at markzz dot com>
-# Contributor: Philip 'Chais' Abernethy <chais dot z30r at gmail dot com>
+# Thanks to "markzz" & "Philip 'Chais' Abernethy" for the besiege PKGBUILD file!
# YOU MUST SUPPLY THE SH FILE INCLUDED WITH YOUR HUMBLE PURCHASE
pkgname=hyperlightdrifter
-pkgver=2016.04.18
-_pkgver=2016-04-18
+_gamename=HyperLightDrifter
+_pkgver=2016-05-09
+pkgver=${_pkgver//-/.}
pkgrel=1
_filename="HyperLightDrifter-DRMFree-Linux-${_pkgver}.sh"
pkgdesc="A 2D action role-playing game (Humble Version)"
@@ -16,23 +16,28 @@ license=('custom')
depends=('libcurl-compat' 'openal' 'libxcursor' 'libpulse')
depends_x86_64=('lib32-libcurl-compat' 'lib32-openal' 'lib32-libxcursor' 'lib32-libpulse')
makedepends=('unzip')
-source=("local://${_filename}")
+source=("local://${_filename}"
+ "hyperlightdrifter.desktop")
noextract=("${_filename}")
-md5sums=('bae67eb8b26eb10389161992f0257c2c')
+md5sums=('2fda541fb3f089a27dd34867f17eb830'
+ '060673538dadaf471bef5e83475ddf4e')
prepare() {
+ rm -r "${srcdir}/${pkgname}"
# unzip will issue a warning about extra bytes at beginning of file, ignore it
unzip $_filename -d "${srcdir}/${pkgname}" || true
}
package() {
- mkdir -p "${pkgdir}/opt/${pkgname}/"
+ mkdir -p "${pkgdir}/opt/${_gamename}/"
mkdir -p "${pkgdir}/usr/bin/"
+ mkdir -p "${pkgdir}/usr/share/applications/"
- install -Dm755 "${srcdir}/${pkgname}/data/x86/HyperLightDrifter.x86" "${pkgdir}/opt/${pkgname}/"
- cp -r "${srcdir}/${pkgname}/data/noarch/"* "${pkgdir}/opt/${pkgname}/"
+ install -Dm755 "${srcdir}/${pkgname}/data/x86/HyperLightDrifter.x86" "${pkgdir}/opt/${_gamename}/"
+ cp -r "${srcdir}/${pkgname}/data/noarch/"* "${pkgdir}/opt/${_gamename}/"
- ln -s "${pkgdir}/opt/${pkgname}/HyperLightDrifter.x86" "${pkgdir}/usr/bin/hyperlightdrifter"
+ ln -s "${pkgdir}/opt/${_gamename}/HyperLightDrifter.x86" "${pkgdir}/usr/bin/hyperlightdrifter"
+ install -m644 "${srcdir}/hyperlightdrifter.desktop" "${pkgdir}/usr/share/applications/hyperlightdrifter.desktop"
}
# vim:set ts=8 sts=2 sw=2 et:
diff --git a/hyperlightdrifter.desktop b/hyperlightdrifter.desktop
new file mode 100644
index 00000000000..684db13a17e
--- /dev/null
+++ b/hyperlightdrifter.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Value=1.0
+Type=Application
+Name=Hyper Light Drifter
+GenericName=Hyper Light Drifter
+Comment=Hyper Light Drifter
+Icon=/opt/HyperLightDrifter/Icon.png
+Exec="/opt/HyperLightDrifter/HyperLightDrifter.x86"
+Categories=Game;
+Path=/opt/HyperLightDrifter