summaryrefslogtreecommitdiff
path: root/community/glob2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-14 01:49:21 -0700
committerroot <root@rshg054.dnsready.net>2013-07-14 01:49:21 -0700
commitd525d9a731f5d79c1128a192b9d2977a2967570f (patch)
tree2a17d6445748cb26dd944abe54a2c52a96162b00 /community/glob2
parentc9952f3a144d9fb19917d7c100dca30d2d99f629 (diff)
Sun Jul 14 01:49:07 PDT 2013
Diffstat (limited to 'community/glob2')
-rw-r--r--community/glob2/PKGBUILD13
-rw-r--r--community/glob2/glob2.install8
2 files changed, 13 insertions, 8 deletions
diff --git a/community/glob2/PKGBUILD b/community/glob2/PKGBUILD
index c6c2cb676..b46d8e812 100644
--- a/community/glob2/PKGBUILD
+++ b/community/glob2/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 87413 2013-03-31 19:18:17Z stephane $
+# $Id: PKGBUILD 94023 2013-07-13 12:32:16Z svenstaro $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=glob2
pkgver=0.9.4.4
-pkgrel=17
+pkgrel=19
pkgdesc='RTS game which minimizes micro-management by automatically assigning tasks to units'
arch=('x86_64' 'i686')
url='http://www.globulation2.org/'
license=('GPL3')
depends=('boost-libs' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'glu'
- 'fribidi' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'libgl')
+ 'fribidi' 'xdg-utils' 'libgl')
makedepends=('scons' 'boost' 'mesa-libgl')
install="$pkgname.install"
source=("http://dl.sv.nongnu.org/releases/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz"
@@ -19,10 +19,15 @@ source=("http://dl.sv.nongnu.org/releases/$pkgname/${pkgver%.*}/$pkgname-$pkgver
sha256sums=('0f4d898ec6b05ce27b4a12ef242cc26571304b90d2509932a4743c71311314b8'
'3a0cfc06696d1aaf2d7948b5f6a09a8ce96492767039dc09bfc25182b92d7b7a')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np0 -i "$srcdir/$pkgname-${pkgver%.*}.1-gcc44.patch"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
scons LINKFLAGS="-lboost_system"
}
diff --git a/community/glob2/glob2.install b/community/glob2/glob2.install
index 20264b3a8..d2b1a678b 100644
--- a/community/glob2/glob2.install
+++ b/community/glob2/glob2.install
@@ -1,13 +1,13 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
+ xdg-icon-resource forceupdate
}
post_upgrade() {
- post_install $1
+ xdg-icon-resource forceupdate
}
post_remove() {
- post_install $1
+ xdg-icon-resource forceupdate
}
+# vim:set ts=2 sw=2 et: