diff options
author | Kyle Keen | 2015-06-13 00:10:33 -0400 |
---|---|---|
committer | Kyle Keen | 2015-06-13 00:10:33 -0400 |
commit | 9af7985b49ddab922eef89f90bde8c58b7edf2c0 (patch) | |
tree | 91451e40f232e867d7a2bc979c734f808087c509 | |
download | aur-incursion.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..361313fb31e0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = incursion + pkgdesc = A freeware roguelike with very detailed characters. + pkgver = 0.6.9H4L + pkgrel = 1 + url = http://www.incursion-roguelike.net/ + arch = i686 + arch = x86_64 + license = unknown + depends = gcc-libs + depends = libxau + depends = libxfixes + depends = libxrender + depends = libxcursor + depends = libxpm + source = http://www.incursion-roguelike.org/Incursion%200.6.9H4L.tar.gz + md5sums = 32073f76643b3046dde068cbb6330860 + +pkgname = incursion + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d23396ba08ca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor: Kyle Keen <keenerd@gmail.com> +pkgname=incursion +pkgver=0.6.9H4L +#pkgver=0.6.5BL # if H4L does not work for you +pkgrel=1 +pkgdesc="A freeware roguelike with very detailed characters." +arch=(i686 x86_64) +url="http://www.incursion-roguelike.net/" +license=('unknown') # closed source, none given +depends=('gcc-libs' 'libxau' 'libxfixes' 'libxrender' 'libxcursor' 'libxpm') +source=("http://www.incursion-roguelike.org/Incursion%20$pkgver.tar.gz") +md5sums=('32073f76643b3046dde068cbb6330860') + +if [[ $CARCH == x86_64 ]]; then + depends=('lib32-gcc-libs' 'lib32-libxau' 'lib32-libxfixes' \ + 'lib32-libxpm' 'lib32-libxrender' 'lib32-libxcursor') +fi + +package() { + # for now, it needs /opt + cd "$srcdir/Incursion $pkgver" + install -d "$pkgdir/opt/$pkgname" + install -d "$pkgdir/usr/bin" + # should be using 'install', but so many files + chmod -R -x * + chmod +x incursion + chmod 0775 logs mod save + chmod 0664 Incursion.cfg keyboard.dat Options.Dat + cp -ra ./ "$pkgdir/opt/$pkgname/" + chown -R root:games "$pkgdir/opt/$pkgname/" + chown root:root "$pkgdir/opt/$pkgname/incursion" + + # launch link + ln -s /opt/incursion/incursion "$pkgdir/usr/bin/incursion" +} + |