diff options
author | Sebastian Krzyszkowiak | 2015-06-16 02:13:57 +0200 |
---|---|---|
committer | Sebastian Krzyszkowiak | 2015-06-16 02:13:57 +0200 |
commit | af064da2a86130f6bf126c100c541f96d9b43e3d (patch) | |
tree | 417e4e1d82b14047baa395b400d395d42f3653ca | |
download | aur-af064da2a86130f6bf126c100c541f96d9b43e3d.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4e2bd1b23bdf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = superderpy + pkgdesc = A My Little Pony themed arcade game with famous Derpy Hooves as main hero. + pkgver = 0.1a + pkgrel = 1 + url = http://superderpy.com/ + arch = i686 + arch = x86_64 + license = GPL2+ + makedepends = cmake + depends = allegro + source = http://www.superderpy.com/download/SuperDerpy-0.1a.zip + sha256sums = 22ef54f6c6a22d42a1822fb907344cbdb0205c41403148017e369d5cb64780ed + +pkgname = superderpy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3bc1f159ed61 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Sebastian Krzyszkowiak <dos@dosowisko.net> +pkgname=superderpy +pkgver=0.1a +pkgrel=1 +pkgdesc="A My Little Pony themed arcade game with famous Derpy Hooves as main hero." +arch=('i686' 'x86_64') +url='http://superderpy.com/' +license=('GPL2+') +depends=('allegro') +makedepends=('cmake') +source=(http://www.superderpy.com/download/SuperDerpy-$pkgver.zip) +sha256sums=('22ef54f6c6a22d42a1822fb907344cbdb0205c41403148017e369d5cb64780ed') + +build() { + cd SuperDerpy + make +} + +package() { + cd SuperDerpy + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/superderpy/data" + cp bin/superderpy "$pkgdir/usr/share/superderpy" + echo "#!/bin/sh" > "$pkgdir/usr/bin/superderpy" + echo "cd /usr/share/superderpy" >> "$pkgdir/usr/bin/superderpy" + echo "/usr/share/superderpy/superderpy" >> "$pkgdir/usr/bin/superderpy" + chmod +x "$pkgdir/usr/bin/superderpy" + cp -r data "$pkgdir/usr/share/superderpy/" +} |