From 583b49f804923e9db081b9cc932a3f8b7ad3471a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 16 Feb 2014 02:32:57 +0100 Subject: Dump... --- .SRCINFO | 18 ++++++++++++------ PKGBUILD | 33 ++++++++++++++++++++------------- 2 files changed, 32 insertions(+), 19 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e04b5dd..0901e5e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -2,18 +2,24 @@ # Mon Jun 1 13:54:15 UTC 2015 pkgbase = openhexagon pkgdesc = C++ open source clone of Super Hexagon. (binary) - pkgver = 1.92 - pkgrel = 3 + pkgver = 2.0RC1 + pkgrel = 1 url = http://vittorioromeo.info/projects.html arch = i686 arch = x86_64 license = custom:AFL - depends = openal + depends = lua51 + depends = gcc-libs-multilib + depends = mesa + depends = libjpeg-turbo + depends = sfml options = !strip - source = http://vittorioromeo.info/Downloads/OpenHexagon/Linux/OpenHexagonV1.92.tar.gz + source = OpenHexagon.tar::http://vittorioromeo.info/Misc/Temp/OpenHexagon2.0-RC1.xz source = https://raw.github.com/SuperV1234/SSVOpenHexagon/master/LICENSE - md5sums = bda07a9d91a9dd8538d9a7a26562de69 - md5sums = 808282b4d6cf58dacf16fae6068bd030 + source = OpenHexagon + md5sums = 758df0cb21c5a565f4039c5e0bc6b2c6 + md5sums = 2002c3e1decad54ffe535efef6723a5c + md5sums = cedfdc5a1bfdf70f730f06466a8d28c5 pkgname = openhexagon diff --git a/PKGBUILD b/PKGBUILD index 63206d7..1051cc4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,30 +3,37 @@ # Contributor: Emmanuel Gil Peyrot pkgname=openhexagon -pkgver=1.92 -pkgrel=3 +pkgver=2.0RC1 +pkgrel=1 pkgdesc="C++ open source clone of Super Hexagon. (binary)" arch=('i686' 'x86_64') url="http://vittorioromeo.info/projects.html" options=(!strip) license=('custom:AFL') -depends=('openal') -source=('http://vittorioromeo.info/Downloads/OpenHexagon/Linux/OpenHexagonV1.92.tar.gz' - 'https://raw.github.com/SuperV1234/SSVOpenHexagon/master/LICENSE') -md5sums=('bda07a9d91a9dd8538d9a7a26562de69' - '808282b4d6cf58dacf16fae6068bd030') +depends=('lua51' 'gcc-libs-multilib' 'mesa' 'libjpeg-turbo' 'sfml') +source=(OpenHexagon.tar::'http://vittorioromeo.info/Misc/Temp/OpenHexagon2.0-RC1.xz' + 'https://raw.github.com/SuperV1234/SSVOpenHexagon/master/LICENSE' OpenHexagon) +md5sums=('758df0cb21c5a565f4039c5e0bc6b2c6' + '2002c3e1decad54ffe535efef6723a5c' + 'cedfdc5a1bfdf70f730f06466a8d28c5') +prepare() { + cd testInstall2 + (cd x86 + find -not -type d -not -name "SSVOpenHexagon" -not -name "libsfml*" -exec rm {} +) + find -exec chmod 755 {} + + sed -i 's|\./x86|/opt/openhexagon2.0-RC1/x86|g' OpenHexagon + mv ../OpenHexagon . +} package() { - install -d "$pkgdir"/opt/OpenHexagon1.92 - cp -r OpenHexagon1.92 "$pkgdir"/opt/ + install -d "$pkgdir"/opt/openhexagon2.0-RC1 + cp -r testInstall2/* "$pkgdir"/opt/openhexagon2.0-RC1 install -d "$pkgdir"/usr/bin - ln -s /opt/OpenHexagon1.92/OpenHexagon "$pkgdir"/usr/bin/openhexagon + ln -s /opt/openhexagon2.0-RC1/OpenHexagon "$pkgdir"/usr/bin/openhexagon # Need world writeable Profiles for creating profiles and config for... config - chmod 777 "$pkgdir"/opt/OpenHexagon1.92/{Profiles,config.json} + chmod 777 "$pkgdir"/opt/openhexagon2.0-RC1/{Profiles,config.json} install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } - -# vim: set ts=4 sw=4 noet: -- cgit v1.2.3-70-g09d2