summaryrefslogtreecommitdiff
path: root/community/prboom/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/prboom/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/prboom/PKGBUILD')
-rw-r--r--community/prboom/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/prboom/PKGBUILD b/community/prboom/PKGBUILD
new file mode 100644
index 000000000..20417640a
--- /dev/null
+++ b/community/prboom/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 70418 2010-02-26 19:23:47Z thayer $
+# Maintainer: Thayer Williams <thayer@archlinux.org>
+# Contributor: dale <dale@archlinux.org>
+
+pkgname=prboom
+pkgver=2.5.0
+pkgrel=4
+pkgdesc="A game engine which provides a program to play Doom levels"
+url="http://prboom.sourceforge.net/"
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('libpng' 'mesa' 'sdl_mixer' 'sdl_net')
+source=(http://downloads.sourceforge.net/prboom/$pkgname-$pkgver.tar.gz libpng-1.4.patch)
+md5sums=('a8a15f61fa2626ab98051ab2703378c4' 'ba53474db8e747035ca2320a445e4ae0')
+sha1sums=('f17dc6ed4e72d07b85429177b00b8709ea36f5a0' 'faf858bc03a246b7f8e939679b2f0db3e4d6bc21')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 < ../libpng-1.4.patch || return 1
+ ./configure --prefix=/usr --disable-i386-asm || return 1
+ sed -i "s|/games|/bin|g" $srcdir/$pkgname-$pkgver/src/Makefile || return 1
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+}
+