summaryrefslogtreecommitdiff
path: root/community/barrage
diff options
context:
space:
mode:
Diffstat (limited to 'community/barrage')
-rw-r--r--community/barrage/PKGBUILD21
-rw-r--r--community/barrage/barrage.changelog2
-rw-r--r--community/barrage/barrage.install11
3 files changed, 25 insertions, 9 deletions
diff --git a/community/barrage/PKGBUILD b/community/barrage/PKGBUILD
index ad971787b..f0b9f4fc1 100644
--- a/community/barrage/PKGBUILD
+++ b/community/barrage/PKGBUILD
@@ -1,17 +1,20 @@
-# $Id: PKGBUILD 21744 2010-07-17 07:41:46Z lcarlier $
-# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
+# $Id: PKGBUILD 54560 2011-08-20 17:29:58Z jlichtblau $
+# 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.2
-pkgrel=4
+pkgver=1.0.4
+pkgrel=1
pkgdesc="A violent point-and-click shooting game with nice effects"
arch=('i686' 'x86_64' 'mips64el')
url="http://lgames.sourceforge.net/index.php?project=Barrage"
-license=("GPL")
-depends=('sdl_mixer')
-source=(http://downloads.sourceforge.net/lgames/${pkgname}-${pkgver}.tar.gz)
-md5sums=('5dbecef907eb27215e8cc047eae2ee90')
+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
@@ -23,5 +26,5 @@ build() {
package() {
cd ${srcdir}/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ 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
+}