summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ramsden2016-06-15 13:44:10 -0700
committerJohn Ramsden2016-06-15 13:44:10 -0700
commitba197321ac680297774b054e4b59a72d45560456 (patch)
tree1e07d2f51ccd054254a5f5386a766ba373bfaf31
parentff35b0a7660c38dde4f1c993c225c1246d621d8e (diff)
downloadaur-ba197321ac680297774b054e4b59a72d45560456.tar.gz
Made PKGBUILD comments clearer
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD29
2 files changed, 17 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0eb939d3af8..55ddf63b1b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = armikrog-hib
pkgdesc = A unique stop motion clay animated point and click adventure game from the creators of Earthworm Jim and the Neverhood.
pkgver = 20160202
- pkgrel = 1
+ pkgrel = 2
url = http://www.armikrog.com/
arch = i686
arch = x86_64
@@ -13,3 +13,4 @@ pkgbase = armikrog-hib
md5sums = 4d5f5701dc79c9ed337c6ebf78bb1ad9
pkgname = armikrog-hib
+
diff --git a/PKGBUILD b/PKGBUILD
index f809f504890..85c1e647f37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,18 @@
# Maintainer: John Ramsden <streblo [at] ramsdenj [dot] ca>
# Note: The 2016 version may give you double cursor issues, if you
-# would rather use the 2015 version the necessary commented code is below
+# would rather use the 2015 version the necessary commented code is below.
+# You might need to download the PKGBUILD, run makepkg on it by hand and
+# install the resulting pkg to get the old version working.
pkgname=armikrog-hib
pkgver=20160202
-pkgrel=1
-pkgdesc="A unique stop motion clay animated point and click adventure game from the creators of Earthworm Jim and the Neverhood. "
+## Replace if using v20150710 ##
+#pkgver=20150710
+pkgrel=2
+pkgdesc="A unique stop motion clay animated point and click adventure game from the creators of Earthworm Jim and the Neverhood."
arch=('i686' 'x86_64')
+[ "$CARCH" == "x86_64" ] && _arch="x86_64" || _arch="x86"
url="http://www.armikrog.com/"
license=('custom: commercial')
depends=()
@@ -15,20 +20,16 @@ makedepends=('hib-dlagent' 'unrar')
source=("hib://Armikrog_LinuxUniversal_feb2016.rar")
md5sums=('4d5f5701dc79c9ed337c6ebf78bb1ad9')
-
-# Replace above the lines with the following to use v20150710
-#pkgver=20150710
-#source=("hib://Armikrog_Linux.x86_64.zip")
+## Replace the above two lines with the following to use v20150710 ##
+#source=("hib://Armikrog_Linux.${_arch}.zip")
#md5sums=('63c9a6e7c57bb8a2bfa14823af0da8a3')
-noextract=('Armikrog_LinuxUniversal_feb2016.rar') # Remove if using v20150710
+## Remove if using v20150710 ##
+noextract=('Armikrog_LinuxUniversal_feb2016.rar')
# File takes a long time to compress, leave uncompressed
PKGEXT='.pkg.tar'
-[ "$CARCH" == "x86_64" ] && _arch="x86_64" || _arch="x86"
-
-DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in makepkg.conf. See https://wiki.archlinux.org/index.php/Humble_Bundle ."; exit 1')
# You need to download the Humble Bundle file manually or you can configure
# DLAGENTS in makepkg.conf to auto-download.
#
@@ -40,7 +41,8 @@ DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(p
# The following is just a fallback to the above to notify the user:
DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in makepkg.conf. See this PKGBUILD or https://wiki.archlinux.org/index.php/Humble_Bundle for more information."; exit 1')
-prepare(){ # Remove if using v20150710
+## Remove if using v20150710 ##
+prepare(){
unrar x 'Armikrog_LinuxUniversal_feb2016.rar'
}
@@ -52,8 +54,7 @@ package() {
install -Dm644 "${srcdir}/LinuxUniversal/Armikrog_Data/Resources/UnityPlayer.png" "${pkgdir}/usr/share/pixmaps/armikrog.png"
mv "${srcdir}/LinuxUniversal/Armikrog_Data/" "${pkgdir}/opt/${pkgname}"
install -Dm755 "${srcdir}/LinuxUniversal/Armikrog.${_arch}" "${pkgdir}/opt/${pkgname}/"
-
- # Replace above three lines with following to use v20150710
+## Replace above three lines with following to use v20150710 ##
#install -Dm644 "${srcdir}/Armikrog_Data/Resources/UnityPlayer.png" "${pkgdir}/usr/share/pixmaps/armikrog.png"
#mv "${srcdir}/Armikrog_Data/" "${pkgdir}/opt/${pkgname}"
#install -Dm755 "${srcdir}/Armikrog.${_arch}" "${pkgdir}/opt/${pkgname}/"