diff options
author | Eric Anderson | 2015-06-20 09:11:53 -0700 |
---|---|---|
committer | Eric Anderson | 2015-06-20 09:11:53 -0700 |
commit | 1008f1e72b574ce01e63f94ec1a684b0dc5198d7 (patch) | |
tree | 832f62bc70a96803ea5b37de263ae21c00e5a343 | |
download | aur-1008f1e72b574ce01e63f94ec1a684b0dc5198d7.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 58 | ||||
-rw-r--r-- | dearesther.desktop | 10 | ||||
-rwxr-xr-x | dearesther.sh | 2 |
4 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1230405cf368 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = dearesther + pkgdesc = An experimental first-person adventure, strongly driven by a fractured narrative (game sold separately) + pkgver = 1.6 + pkgrel = 1 + url = http://dear-esther.com/ + arch = i686 + arch = x86_64 + license = custom + makedepends = unzip + depends = glu + depends = libxi + depends = gcc-libs + noextract = install-dearesther-1.6.bin + options = !strip + source = dearesther.desktop + source = dearesther.sh + source = hib://install-dearesther-1.6.bin + md5sums = 3596d66ededb400331f91e5855d79d29 + md5sums = a5a32737beb3e795ac3c790851d69c16 + md5sums = 42ac76a31ac8782bda3e03bd8bec5bf4 + +pkgname = dearesther + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..00dd5340fdca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Eric Anderson <ejona86@gmail.com> + +pkgname=dearesther +pkgver=1.6 +pkgrel=1 +pkgdesc='An experimental first-person adventure, strongly driven by a fractured narrative (game sold separately)' +arch=('i686' 'x86_64') +url='http://dear-esther.com/' +license=('custom') +makedepends=('unzip') +if [ "$CARCH" = "x86_64" ]; then + depends=('lib32-glu' 'lib32-libxi' 'lib32-gcc-libs') +else + depends=('glu' 'libxi' 'gcc-libs') +fi +options=('!strip') +_gamepkg="install-${pkgname}-${pkgver}.bin" +source=("${pkgname}.desktop" + "${pkgname}.sh" + "hib://${_gamepkg}") +md5sums=('3596d66ededb400331f91e5855d79d29' + 'a5a32737beb3e795ac3c790851d69c16' + '42ac76a31ac8782bda3e03bd8bec5bf4') +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') +PKGEXT='.pkg.tar.gz' + +build(){ + cd "${srcdir}" + + mkdir "${pkgname}-${pkgver}" + bsdtar -x -C "${pkgname}-${pkgver}" -f "${_gamepkg}" +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + mkdir -p "${pkgdir}/opt/${pkgname}/" + cp -Rl bin etc lib share support "${pkgdir}/opt/${pkgname}" + + install -D -m644 "${srcdir}/${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + install -D -m644 license.txt \ + "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" + + install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" +} diff --git a/dearesther.desktop b/dearesther.desktop new file mode 100644 index 000000000000..bb2367bb6ee5 --- /dev/null +++ b/dearesther.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Icon=/opt/dearesther/support/dearesther/windata/cxmenu/icons/dearesther.png +Exec=/usr/bin/dearesther +Terminal=false +StartupNotify=false +Name=Dear Esther +Comment=An experimental first-person adventure, strongly driven by a fractured narrative +Categories=Game; diff --git a/dearesther.sh b/dearesther.sh new file mode 100755 index 000000000000..4e85c350a22e --- /dev/null +++ b/dearesther.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec "/opt/dearesther/bin/wine" --bottle "dearesther" --check --wait-children --start "C:/users/Public/Start Menu/Programs/Dear Esther/Dear Esther.lnk" "$@" |