summaryrefslogtreecommitdiff
path: root/community/glob2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
committerroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
commit6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (patch)
tree4c1b86f91ce9c742867b6eecd4857b20919cd713 /community/glob2
parent63d179775e063452db6358e15b9847e7fc6c84b6 (diff)
Thu Jul 19 00:01:52 UTC 2012
Diffstat (limited to 'community/glob2')
-rw-r--r--community/glob2/PKGBUILD12
-rw-r--r--community/glob2/glob2.install3
2 files changed, 8 insertions, 7 deletions
diff --git a/community/glob2/PKGBUILD b/community/glob2/PKGBUILD
index 26da239a2..213646f90 100644
--- a/community/glob2/PKGBUILD
+++ b/community/glob2/PKGBUILD
@@ -1,28 +1,28 @@
-# $Id: PKGBUILD 67182 2012-03-05 08:57:11Z ibiru $
+# $Id: PKGBUILD 73992 2012-07-18 01:06:49Z ibiru $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=glob2
pkgver=0.9.4.4
-pkgrel=11
+pkgrel=12
pkgdesc="RTS game which minimizes micro-management by automatically assigning tasks to units"
arch=('i686' 'x86_64')
url="http://www.globulation2.org/"
license=('GPL3')
depends=('boost-libs' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'mesa'
- 'fribidi' 'desktop-file-utils')
+ 'fribidi' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils')
makedepends=('scons' 'boost')
install=glob2.install
source=(http://dl.sv.nongnu.org/releases/${pkgname}/0.9.4/${pkgname}-${pkgver}.tar.gz
glob2-0.9.4.1-gcc44.patch)
-md5sums=('94c527325f355a29a2807f8f18a6e6a8' 'b13cb1f73ece23bfc6413773678d583e')
-sha1sums=('14aa8d840ef5f95a9af591789082fe2322fa8cad' '3e5ae81d85a727387a7049c3a0dfb3db930391b3')
+sha1sums=('14aa8d840ef5f95a9af591789082fe2322fa8cad'
+ '3e5ae81d85a727387a7049c3a0dfb3db930391b3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np0 -i "$srcdir/glob2-0.9.4.1-gcc44.patch"
- scons BINDIR="${pkgdir}/usr/bin" INSTALLDIR="${pkgdir}/usr/share"
+ scons BINDIR="${pkgdir}/usr/bin" INSTALLDIR="${pkgdir}/usr/share" LINKFLAGS="-lboost_system"
}
package () {
diff --git a/community/glob2/glob2.install b/community/glob2/glob2.install
index 7463b6e76..20264b3a8 100644
--- a/community/glob2/glob2.install
+++ b/community/glob2/glob2.install
@@ -1,4 +1,5 @@
post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
@@ -7,6 +8,6 @@ post_upgrade() {
}
post_remove() {
- update-desktop-database -q
+ post_install $1
}