author | Jan Alexander Steffens
<heftig@archlinux.org> 2012-11-07 15:13:09 UTC |
committer | Jan Alexander Steffens
<heftig@archlinux.org> 2012-11-07 15:13:09 UTC |
parent | 74af11696e0c7fbed23d4175918a0f356cf72aa8 |
PKGBUILD | +6 | -12 |
config.state | +1 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index fda311a..33ea99d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,12 +6,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') 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 @@ -23,26 +23,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/config.state b/config.state index 1568f4a..bfbeedf 100644 --- a/config.state +++ b/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'