diff options
author | Mrmaxmeier | 2016-08-06 17:54:48 +0200 |
---|---|---|
committer | Mrmaxmeier | 2016-08-06 18:58:46 +0200 |
commit | 1185c2196a27e0c69211a5edc8ba58a1dea075cd (patch) | |
tree | f240f9671e184b69b1907a60b57c6e29618f6c98 /PKGBUILD | |
download | aur-1185c2196a27e0c69211a5edc8ba58a1dea075cd.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..207917e3f45a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Mrmaxmeier <Mrmaxmeier+aur at gmail dot com> +# TODO: dynamically choose between /builds/.. and /builds/old/.. + +pkgname=bombsquad +pkgver=1.4.96 +pkgrel=1 +pkgdesc='An explosive arcade-style party game' +arch=('x86_64' 'i686') +url='http://www.froemling.net/apps/bombsquad' +license=('unknown') +depends=('openal' 'libgl' 'sdl2' 'gcc' 'libvorbis' 'libogg' 'libxau') +source=("bombsquad.sh") +sha256sums=('850f8a66eb045ce833f8d7dae4533f69b629ac648bd205d98bf5f851339d4515') + +source_i686=("http://www.files.froemling.net/bombsquad/builds/BombSquad_Linux_32bit_${pkgver}.tar.gz") +sha256sums_i686=('dc784e03b9f83d88dafacff6caf3be18968939cb57a026141b8d8b6efcd319e2') + +source_x86_64=("http://www.files.froemling.net/bombsquad/builds/BombSquad_Linux_64bit_${pkgver}.tar.gz") +sha256sums_x86_64=('cbcd5cdfe7358622ea84dd31a6659b137a65e48609173eb0f10879b97fad70d4') + + +package() { + case "$CARCH" in + x86_64) + cd "$srcdir"/BombSquad_Linux_64bit_"$pkgver" + ;; + i686) + cd "$srcdir"/BombSquad_Linux_32bit_"$pkgver" + ;; + esac + + install -Dm755 bombsquad "$pkgdir"/usr/share/bombsquad/bombsquad + install -dm755 data "$pkgdir"/usr/share/bombsquad/data + cp -r data "$pkgdir"/usr/share/bombsquad/ + + find "${pkgdir}/usr/share/bombsquad/data" -type f -exec chmod 644 {} \; + find "${pkgdir}/usr/share/bombsquad/data" -type d -exec chmod 755 {} \; + + install -Dm 755 "$srcdir"/bombsquad.sh "$pkgdir"/usr/bin/$pkgname +} + + |