diff options
author | Georg Schlisio | 2016-03-23 22:12:25 +0100 |
---|---|---|
committer | Georg Schlisio | 2016-03-23 22:12:25 +0100 |
commit | b770155bb24a6ef9dba6ada25ebc6bba60b56297 (patch) | |
tree | 1ca79b3c60228204e6e96bc57288fb3d17f902a9 /PKGBUILD | |
download | aur-b770155bb24a6ef9dba6ada25ebc6bba60b56297.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d49637c96d92 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: fordprefect <fordprefect@dukun.de> +pkgname=sunlesssea-hib +pkgver=2016.02.22 +pkgrel=1 +pkgdesc="Sunless Sea is a nautical roguelike in glorious 2D, presenting a non-linear, choice-heavy, personalised experience. Humblebundle version." +url="http://www.failbettergames.com/sunless/" +arch=('any') +license=('commercial') +depends=("lib32-libxcursor") +source=("hib://Sunless_Sea-StandAlone-Linux-2016-02-22.sh") +md5sums=('91f751a8d4b6c65e50f1e8466350c5e8') +PKGEXT=.pkg.tar +DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in /etc/makepkg.conf."; exit 1') + +package() { + # copy files + install -Dm755 "${srcdir}/data/x86/Sunless Sea.x86" "${pkgdir}/opt/sunlesssea/Sunless Sea.x86" + cp -R "${srcdir}/data/noarch/Sunless Sea_Data" "${srcdir}/data/noarch/Icon.png" "${pkgdir}/opt/sunlesssea/" + + # starter script + mkdir -p "${pkgdir}/usr/bin" + cat >> "${pkgdir}/usr/bin/sunlessea" << \here +#!/usr/bin/bash +cd /opt/sunlesssea +Sunless\ Sea.x86 +here + chmod a+x "${pkgdir}/usr/bin/sunlessea" +} |