diff options
author | Eric Anderson | 2015-06-20 09:03:38 -0700 |
---|---|---|
committer | Eric Anderson | 2015-06-20 09:03:38 -0700 |
commit | ab4820edb1745533d8aabcd4f3782cbbe87917c8 (patch) | |
tree | 9c5001dc9978d23704e350ee3de661ad1efed9a0 | |
download | aur-ab4820edb1745533d8aabcd4f3782cbbe87917c8.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 20 | ||||
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 62 | ||||
-rw-r--r-- | vvvvvv.desktop | 9 | ||||
-rw-r--r-- | vvvvvv.sh | 3 |
5 files changed, 117 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..9d6146b39053 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,20 @@ +pkgbase = vvvvvv + pkgdesc = A retro-styled 2D platformer (game sold separately) + pkgver = 2.2 + pkgrel = 2 + url = http://thelettervsixtim.es/ + arch = i686 + arch = x86_64 + groups = humblebundle3 + groups = humblebundle4 + groups = humblebundles + license = custom + depends = sh + depends = sdl2_mixer + source = hib://vvvvvv-06182014-bin + source = vvvvvv.desktop + source = vvvvvv.sh + noextract = vvvvvv-06182014-bin + +pkgname = vvvvvv + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4f0ed6daefee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = vvvvvv + pkgdesc = A retro-styled 2D platformer (game sold separately) + pkgver = 2.2 + pkgrel = 2 + url = http://thelettervsixtim.es/ + arch = i686 + arch = x86_64 + groups = humblebundle3 + groups = humblebundle4 + groups = humblebundles + license = custom + depends = sh + depends = sdl2_mixer + noextract = vvvvvv-06182014-bin + source = hib://vvvvvv-06182014-bin + source = vvvvvv.desktop + source = vvvvvv.sh + md5sums = 65312dd3b51c700927b1086ba045ece1 + md5sums = f3f06f16bf7f3280279e2d3da425a5d2 + md5sums = 6d1c555a18bcd5cba8c55a62cf0964ac + +pkgname = vvvvvv + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..53272d90e1e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,62 @@ +# Contributor: gadget3000 <gadget3000 at msn dot com> +# Contributor: mikers <mikeonthecomputer at gmail dot com> +# Maintainer: Eric Anderson <ejona86@gmail.com> + +pkgname=vvvvvv +pkgver=2.2 +_pkgver=06182014 +pkgrel=2 +pkgdesc='A retro-styled 2D platformer (game sold separately)' +arch=('i686' 'x86_64') +url='http://thelettervsixtim.es/' +groups=('humblebundle3' 'humblebundle4' 'humblebundles') +license=('custom') +depends=('sh' 'sdl2_mixer') +_gamepkg="${pkgname}-${_pkgver}-bin" +source=("hib://${_gamepkg}" "${pkgname}.desktop" "${pkgname}.sh") +md5sums=( + '65312dd3b51c700927b1086ba045ece1' + 'f3f06f16bf7f3280279e2d3da425a5d2' + '6d1c555a18bcd5cba8c55a62cf0964ac') +noextract=("${_gamepkg}") +# You can download the Humble Indie Bundle file manually, or you can configure +# DLAGENTS in makepkg.conf to auto-download. +# +# For example, to use hib-dlagent to download files set something like this in +# your makepkg.conf (change/add -k and add -u/-p to your needs): +# DLAGENTS=('hib::/usr/bin/hib-dlagent -k 1a2b3c -o %o $(echo %u | cut -c 7-)') +# +# To auto-search through a directory containing Humble Bundle downloads, you +# could set: +# DLAGENTS=('hib::/usr/bin/find /path/to/downloads -name $(echo %u | cut -c 7-) -exec ln -s \{\} %o \; -quit') +DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Download manually to \"$(pwd)\" or setup hib:// DLAGENT in /etc/makepkg.conf."; echo "Read this PKGBUILD for more info."; exit 1') + +build() { + cd "${srcdir}" + + mkdir -p "${pkgname}-${pkgver}" + bsdtar -x -C "${pkgname}-${pkgver}" -f "${_gamepkg}" +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + cd data + install -d "${pkgdir}/opt/${pkgname}" + install -m644 -t "${pkgdir}/opt/${pkgname}" \ + data.zip \ + Linux.README + if [ "${CARCH}" = "x86_64" ]; then + install -m755 x86_64/${pkgname}.x86_64 \ + "${pkgdir}/opt/${pkgname}/${pkgname}" + else + install -m755 x86/${pkgname}.x86 \ + "${pkgdir}/opt/${pkgname}/${pkgname}" + fi + + install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" + install -D -m644 "VVVVVV.png" \ + "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -D -m644 "${srcdir}/${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} diff --git a/vvvvvv.desktop b/vvvvvv.desktop new file mode 100644 index 000000000000..bbda9856a634 --- /dev/null +++ b/vvvvvv.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=VVVVVV +Comment=A retro styled 2D platformer +Exec=/usr/bin/vvvvvv +Icon=vvvvvv +Terminal=false +Categories=Game diff --git a/vvvvvv.sh b/vvvvvv.sh new file mode 100644 index 000000000000..029a3d15422b --- /dev/null +++ b/vvvvvv.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/vvvvvv +exec ./vvvvvv |