diff options
author | Johannes Löthberg <demizide@gmail.com> | 2013-06-28 17:25:59 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:57 +0200 |
commit | 32914afd28e336976e104fc26a714c2a1f0ea2ea (patch) | |
tree | 46e9838a71f6a2064fe77057c61fd67a915d1b98 /PKGBUILD | |
parent | 6b979b5cec70045310d77310f8d5fa5c7edf2be8 (diff) | |
download | pkgbuilds-32914afd28e336976e104fc26a714c2a1f0ea2ea.tar.xz |
Added openhexagon PKGBUILD (bin release packaging)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..945048c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Johannes Löthberg <demizide@gmail.com> +# Contributor: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com> +# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> + +pkgname=openhexagon +pkgver=1.92 +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=('lua51') +source=(http://vittorioromeo.info/Downloads/OpenHexagon/Linux/OpenHexagonV1.92.tar.gz + https://raw.github.com/SuperV1234/SSVOpenHexagon/master/LICENSE) +md5sums=('bda07a9d91a9dd8538d9a7a26562de69' + '808282b4d6cf58dacf16fae6068bd030') +package() { + install -Dd "${pkgdir}/opt/OpenHexagon1.92" + cp -r ${srcdir}/OpenHexagon1.92/ ${pkgdir}/opt/ + + install -Dd ${pkgdir}/usr/bin + ln -s /opt/OpenHexagon1.92/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} + + install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + +} |