summaryrefslogtreecommitdiff
path: root/community/scorched3d/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/scorched3d/PKGBUILD')
-rw-r--r--community/scorched3d/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/community/scorched3d/PKGBUILD b/community/scorched3d/PKGBUILD
index 79d358184..002a79432 100644
--- a/community/scorched3d/PKGBUILD
+++ b/community/scorched3d/PKGBUILD
@@ -1,8 +1,10 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Seppo Porspakka <sporspak@paju.oulu.fi>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=scorched3d
-pkgver=43.3
+pkgver=43.3.d
+_pkgver=43.3d
pkgrel=1
pkgdesc="A 3d artillery combat game"
arch=('i686' 'x86_64')
@@ -11,14 +13,14 @@ license=('GPL')
depends=('sdl_net' 'wxgtk' 'freealut>=1.0.0-3' 'libvorbis' 'mesa' 'fftw' 'libjpeg>=8' 'xdg-utils')
makedepends=('sharutils')
install=scorched3d.install
-source=("http://downloads.sourceforge.net/${pkgname}/Scorched3D-${pkgver}-src.tar.gz"
+source=("http://downloads.sourceforge.net/${pkgname}/Scorched3D-${_pkgver}-src.tar.gz"
'scorched3d.desktop'
'scorched3d.png.uu'
'scorched3d-42.1-gcc43.patch'
'scorched3d-42.1-fixups.patch'
'scorched3d-libpng1.5.patch'
'libpng14.patch')
-md5sums=('3e4aa690ddb2d7dfa26d283faf59f897'
+md5sums=('9c3043282a9e7451468ff325bef3b04c'
'b951f2150004e10fdff3e6226f1a3939'
'178a281333006c6a5a92919865c1d7af'
'053769f77a38c252eef1d967b18e93e6'
@@ -31,7 +33,7 @@ build() {
# patch -Np1 -i ${srcdir}/scorched3d-42.1-gcc43.patch
# patch -Np1 -i ${srcdir}/scorched3d-42.1-fixups.patch
- patch -Np1 -i ${srcdir}/scorched3d-libpng1.5.patch
+ patch -Np1 -i ${srcdir}/scorched3d-libpng1.5.patch
# patch -Np0 -i ${srcdir}/libpng14.patch
WANT_WXGTK=gtk2
@@ -52,13 +54,10 @@ package() {
make DESTDIR=${pkgdir} install
- # freedesktop stuff - png and desktop file ganked from debian
cd ${srcdir}
uudecode --output-file=scorched3d.png scorched3d.png.uu
- install -D -m644 scorched3d.png \
- ${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png
- install -D -m644 scorched3d.desktop \
- ${pkgdir}/usr/share/applications/${pkgname}.desktop
+ install -D -m644 scorched3d.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png
+ install -D -m644 scorched3d.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}