summaryrefslogtreecommitdiff
path: root/community/uqm
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-09 20:51:43 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-09 20:51:43 +0100
commit7b801d14eb78615912e7456a4654c2488bdee4d5 (patch)
tree070ebb46ae5f3eda613c61c00455800ec93267cd /community/uqm
parent6437e5e532491d7221030a7647fde7a69d1a1099 (diff)
parentc865fc041a0945e396f139a86315f6a25b1d4dec (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/erlang/PKGBUILD community/mcabber/PKGBUILD community/smem/PKGBUILD community/uqm/PKGBUILD extra/bitlbee/PKGBUILD extra/gvfs/PKGBUILD extra/gweled/PKGBUILD extra/libmikmod/PKGBUILD extra/sdl_sound/PKGBUILD extra/xmms/PKGBUILD libre/gnu-ghostscript/PKGBUILD libre/libretools/PKGBUILD
Diffstat (limited to 'community/uqm')
-rw-r--r--community/uqm/PKGBUILD20
-rw-r--r--community/uqm/config.state1
2 files changed, 8 insertions, 13 deletions
diff --git a/community/uqm/PKGBUILD b/community/uqm/PKGBUILD
index 79d3c0c74..4e1f2f037 100644
--- a/community/uqm/PKGBUILD
+++ b/community/uqm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65007 2012-02-19 17:51:46Z lcarlier $
+# $Id: PKGBUILD 79596 2012-11-08 15:28:33Z heftig $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Maintainer : Daenyth <Daenyth+Arch _AT_ gmail _DOT_ com>
# Contributor : wizzomafizzo <wizzomafizzo@gmail.com>
@@ -7,12 +7,12 @@
pkgname=uqm
pkgver=0.7.0
-pkgrel=2
-pkgdesc="The Ur-Quan Masters is a port of Star Control 2"
+pkgrel=3
+pkgdesc="The Ur-Quan Masters, a port of Star Control 2"
arch=('i686' 'x86_64' 'mips64el')
url="http://sc2.sf.net/"
license=('GPL')
-depends=('libmikmod' 'libvorbis' 'sdl_image' 'libgl')
+depends=('libmikmod' 'libvorbis' 'sdl_image' 'libgl' 'glu')
makedepends=('imagemagick' 'mesa' 'namcap')
optdepends=('uqm-sound: For extra music and conversation audio')
source=(http://downloads.sourceforge.net/sourceforge/sc2/uqm-${pkgver}-source.tgz
@@ -24,26 +24,20 @@ source=(http://downloads.sourceforge.net/sourceforge/sc2/uqm-${pkgver}-source.tg
noextract=(uqm-${pkgver}-content.uqm)
md5sums=('f9018ea0493d7dac6a9e1006b00af7df'
'2f36dcb15274dbbcb5e266f2ed84d5b2'
- '07f0a0e74a0b1c706940cc43d5a4160c'
+ 'ca497b754edf56aab8a5791f1d2c974a'
'07e64632fce6323a14ab558d0214b885'
'44c83b9b9d102b99210af0036749a318'
'06d0a72aa18e7edce6cd3c7a3a747c44')
-build() {
+package() {
cd $srcdir/$pkgname-$pkgver
cp $srcdir/config.state .
sed -e "/INPUT_install_prefix/ s|replaceme|$pkgdir/usr|" \
-i config.state
-
- echo | ./build.sh uqm config
+ ./build.sh uqm reprocess_config
./build.sh uqm
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
-
./build.sh uqm install
install -Dm644 $srcdir/$pkgname-$pkgver-content.uqm \
diff --git a/community/uqm/config.state b/community/uqm/config.state
index 1568f4a24..bfbeedffb 100644
--- a/community/uqm/config.state
+++ b/community/uqm/config.state
@@ -7,6 +7,7 @@ CHOICE_netplay_VALUE='full'
CHOICE_joystick_VALUE='enabled'
CHOICE_ioformat_VALUE='stdio_zip'
CHOICE_accel_VALUE='asm'
+CHOICE_threadlib_VALUE='sdl'
INPUT_install_prefix_VALUE='replaceme'
INPUT_install_bindir_VALUE='$prefix/bin'
INPUT_install_libdir_VALUE='$prefix/lib'