diff options
Diffstat (limited to 'community/barrage')
-rw-r--r-- | community/barrage/PKGBUILD | 30 | ||||
-rw-r--r-- | community/barrage/barrage.changelog | 2 | ||||
-rw-r--r-- | community/barrage/barrage.install | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/community/barrage/PKGBUILD b/community/barrage/PKGBUILD new file mode 100644 index 000000000..69ab19226 --- /dev/null +++ b/community/barrage/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 67443 2012-03-11 20:00:53Z lcarlier $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Allan McRae <mcrae_allan@hotmail.com> +# Contributor: Angelo Theodorou <encelo@users.sourceforge.net> + +pkgname=barrage +pkgver=1.0.4 +pkgrel=2 +pkgdesc="A violent point-and-click shooting game with nice effects" +arch=('i686' 'x86_64') +url="http://lgames.sourceforge.net/index.php?project=Barrage" +license=('GPL') +depends=('hicolor-icon-theme' 'sdl_mixer') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://downloads.sourceforge.net/lgames/$pkgname-$pkgver.tar.gz) +sha256sums=('ad74e049dfded3bca28b8dc1c5870408cfad9e024b35cc5b501ba90486d9af25') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} diff --git a/community/barrage/barrage.changelog b/community/barrage/barrage.changelog new file mode 100644 index 000000000..62e407871 --- /dev/null +++ b/community/barrage/barrage.changelog @@ -0,0 +1,2 @@ +2011-08-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * barrage 1.0.4-1 diff --git a/community/barrage/barrage.install b/community/barrage/barrage.install new file mode 100644 index 000000000..b711352cb --- /dev/null +++ b/community/barrage/barrage.install @@ -0,0 +1,11 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |