summaryrefslogtreecommitdiff
path: root/community/glob2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-29 00:06:25 -0800
committerroot <root@rshg054.dnsready.net>2013-01-29 00:06:25 -0800
commit2cb7f65fb24926493d457f6931e421e27aa629da (patch)
treedfd419375945457b6b6dd74c280812f8e5533743 /community/glob2
parent1b9f6dc846379470b620b5dbb9d4d7acd1de148c (diff)
Tue Jan 29 00:06:25 PST 2013
Diffstat (limited to 'community/glob2')
-rw-r--r--community/glob2/PKGBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/community/glob2/PKGBUILD b/community/glob2/PKGBUILD
index 64d83922f..6512def53 100644
--- a/community/glob2/PKGBUILD
+++ b/community/glob2/PKGBUILD
@@ -1,34 +1,40 @@
-# $Id: PKGBUILD 77642 2012-10-13 11:43:21Z allan $
+# $Id: PKGBUILD 83251 2013-01-28 16:49:37Z stephane $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=glob2
pkgver=0.9.4.4
-pkgrel=13
-pkgdesc="RTS game which minimizes micro-management by automatically assigning tasks to units"
-arch=('i686' 'x86_64')
-url="http://www.globulation2.org/"
+pkgrel=14
+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')
makedepends=('scons' 'boost' 'mesa')
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)
-sha1sums=('14aa8d840ef5f95a9af591789082fe2322fa8cad'
- '3e5ae81d85a727387a7049c3a0dfb3db930391b3')
+source=("http://dl.sv.nongnu.org/releases/$pkgname/0.9.4/$pkgname-$pkgver.tar.gz"
+ 'glob2-0.9.4.1-gcc44.patch')
+sha256sums=('0f4d898ec6b05ce27b4a12ef242cc26571304b90d2509932a4743c71311314b8'
+ '3a0cfc06696d1aaf2d7948b5f6a09a8ce96492767039dc09bfc25182b92d7b7a')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
patch -Np0 -i "$srcdir/glob2-0.9.4.1-gcc44.patch"
- scons BINDIR="${pkgdir}/usr/bin" INSTALLDIR="${pkgdir}/usr/share" LINKFLAGS="-lboost_system"
+ scons \
+ BINDIR="$pkgdir/usr/bin" \
+ INSTALLDIR="$pkgdir/usr/share" \
+ LINKFLAGS="-lboost_system"
}
package () {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
scons install
- find "${pkgdir}/usr/share" -type f -exec chmod 644 '{}' \;
- install -Dm644 data/icons/glob2-icon-48x48.png "${pkgdir}/usr/share/pixmaps/glob2-icon-48x48.png"
+ find "$pkgdir/usr/share" -type f -exec chmod 644 '{}' \;
+ install -Dm644 data/icons/glob2-icon-48x48.png \
+ "$pkgdir/usr/share/pixmaps/glob2-icon-48x48.png"
}
+
+# vim:set ts=2 sw=2 et: