summaryrefslogtreecommitdiff
path: root/community/glob2
diff options
context:
space:
mode:
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
}