From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/barrage/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community/barrage/barrage.changelog | 2 ++ community/barrage/barrage.install | 11 +++++++++++ 3 files changed, 43 insertions(+) create mode 100644 community/barrage/PKGBUILD create mode 100644 community/barrage/barrage.changelog create mode 100644 community/barrage/barrage.install (limited to 'community/barrage') 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 +# Contributor: Allan McRae +# Contributor: Angelo Theodorou + +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 + * 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 +} -- cgit v1.2.3-54-g00ecf