diff options
author | Kyle Keen | 2015-06-13 00:08:24 -0400 |
---|---|---|
committer | Kyle Keen | 2015-06-13 00:08:24 -0400 |
commit | 9606cfcd174fe8ced88c5e9dbeeed0ed0202fbba (patch) | |
tree | 10410b8bc989024e8e8a35f532d72b652791c55b | |
download | aur-9606cfcd174fe8ced88c5e9dbeeed0ed0202fbba.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d8f46bc7632e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = hellspider + pkgdesc = Overhead physics shmup with an evolving enemy. + pkgver = 1.0 + pkgrel = 2 + url = http://www.allegro.cc/depot/TransdimensionalHellspider + arch = i686 + arch = x86_64 + license = GPL3 + depends = allegro4 + source = http://downloads.sourceforge.net/project/hellspider/hellspider_src10.zip + source = http://downloads.sourceforge.net/project/hellspider/hellspider_win_10.zip + md5sums = ae414bc87d5678f8bf38cfabfd2dd4d4 + md5sums = 3dd4e7ee1aaa16c1ac01a4062949cb1d + +pkgname = hellspider + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5b162e5b5e58 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Kyle Keen <keenerd@gmail.com> +pkgname=hellspider +pkgver=1.0 +pkgrel=2 +pkgdesc="Overhead physics shmup with an evolving enemy." +arch=('i686' 'x86_64') +url="http://www.allegro.cc/depot/TransdimensionalHellspider" +license=('GPL3') +depends=('allegro4') +source=(http://downloads.sourceforge.net/project/hellspider/hellspider_src10.zip + http://downloads.sourceforge.net/project/hellspider/hellspider_win_10.zip) +md5sums=('ae414bc87d5678f8bf38cfabfd2dd4d4' + '3dd4e7ee1aaa16c1ac01a4062949cb1d') + +build() { + gcc -O2 -Wall *.c -o $pkgname.bin -lm \ + $(allegro-config --cflags --libs) -DUNIX_OSX_VISTA_ETC + + cat <<EOF > hellspider +#!/bin/sh +cd /usr/lib/$pkgname +APPDATA="$HOME" ./hellspider.bin +EOF +} + +package() +{ + install -d "$pkgdir"/usr/{bin,lib/$pkgname} + install -Dm644 *.txt "$pkgdir/usr/lib/$pkgname/" + install -Dm755 $pkgname.bin "$pkgdir/usr/lib/$pkgname/" + install -Dm755 $pkgname "$pkgdir/usr/bin/" + cd "$pkgdir/usr/lib/$pkgname" + cp -R "$srcdir"/{gfx,wavs} . + chmod -x gfx/*.* wavs/*.wav wavs/beat/*.wav + mv wavs/beat/{ambiLoo.wav,AmbiLoo.wav} + mv wavs/beat/{ambiLoo2.wav,AmbiLoo2.wav} +} |