summaryrefslogtreecommitdiff
path: root/community/uqm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-01 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-09-01 23:14:36 +0000
commiteb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 (patch)
tree8b84e75352e1becac08cfc404361e88753b5daac /community/uqm
parent31f40feaa17912cf0ebfa72dd9368264633b3830 (diff)
Thu Sep 1 23:14:36 UTC 2011
Diffstat (limited to 'community/uqm')
-rw-r--r--community/uqm/PKGBUILD48
-rw-r--r--community/uqm/uqm.desktop10
-rw-r--r--community/uqm/uqm.pngbin0 -> 3630 bytes
3 files changed, 43 insertions, 15 deletions
diff --git a/community/uqm/PKGBUILD b/community/uqm/PKGBUILD
index e4991fbe8..4d82315d6 100644
--- a/community/uqm/PKGBUILD
+++ b/community/uqm/PKGBUILD
@@ -1,41 +1,59 @@
+# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Maintainer : Daenyth <Daenyth+Arch _AT_ gmail _DOT_ com>
# Contributor : wizzomafizzo <wizzomafizzo@gmail.com>
# Contributor: tochiro@no.spam.mail.berlios.de
# Contributor: sh__
pkgname=uqm
-pkgver=0.6.2
-pkgrel=5
+pkgver=0.7.0
+pkgrel=1
pkgdesc="The Ur-Quan Masters is a port of Star Control 2"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://sc2.sf.net/"
license=('GPL')
depends=('libmikmod' 'libvorbis' 'sdl_image' 'libgl')
-makedepends=('imagemagick')
+makedepends=('imagemagick' 'mesa' 'namcap')
optdepends=('uqm-sound: For extra music and conversation audio')
source=(http://downloads.sourceforge.net/sourceforge/sc2/uqm-${pkgver}-source.tgz
- http://downloads.sourceforge.net/sourceforge/sc2/uqm-0.6.0-content.uqm
- config.state uqm)
-md5sums=('ba4ee595b62349873d510b9827e7648d' '7e8f0ed8490e24231431420ea2ba6a03'
- '07f0a0e74a0b1c706940cc43d5a4160c' '07e64632fce6323a14ab558d0214b885')
+ http://downloads.sourceforge.net/sourceforge/sc2/uqm-${pkgver}-content.uqm
+ config.state
+ uqm
+ uqm.desktop
+ uqm.png)
+noextract=(uqm-${pkgver}-content.uqm)
+md5sums=('f9018ea0493d7dac6a9e1006b00af7df'
+ '2f36dcb15274dbbcb5e266f2ed84d5b2'
+ '07f0a0e74a0b1c706940cc43d5a4160c'
+ '07e64632fce6323a14ab558d0214b885'
+ '44c83b9b9d102b99210af0036749a318'
+ '06d0a72aa18e7edce6cd3c7a3a747c44')
build() {
- cd $srcdir/$pkgname-$pkgver/sc2
+ 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 || return 1
+ echo | ./build.sh uqm config
+
+ ./build.sh uqm
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
- ./build.sh uqm || return 1
./build.sh uqm install
- install -Dm644 $srcdir/$pkgname-0.6.0-content.uqm \
- $pkgdir/usr/share/uqm/content/packages/$pkgname-0.6.0-content.uqm
+ install -Dm644 $srcdir/$pkgname-$pkgver-content.uqm \
+ $pkgdir/usr/share/uqm/content/packages/$pkgname-$pkgver-content.uqm
+
+ # stolen from fedora!
+ install -Dm644 $srcdir/uqm.desktop \
+ $pkgdir/usr/share/applications/uqm.desktop
+ install -Dm644 $srcdir/uqm.png \
+ $pkgdir/usr/share/pixmaps/uqm.png
rm $pkgdir/usr/bin/uqm
install -Dm755 $srcdir/uqm $pkgdir/usr/bin/uqm
}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/uqm/uqm.desktop b/community/uqm/uqm.desktop
new file mode 100644
index 000000000..7a0e46882
--- /dev/null
+++ b/community/uqm/uqm.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=The Ur-Quan Masters
+Comment=An epic space adventure
+Comment[fi]=Eeppinen avaruusseikkailu
+Exec=uqm
+Icon=uqm
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Application;Game;ArcadeGame;StrategyGame;
diff --git a/community/uqm/uqm.png b/community/uqm/uqm.png
new file mode 100644
index 000000000..64765a43b
--- /dev/null
+++ b/community/uqm/uqm.png
Binary files differ