PKGBUILDs/extra/prboom/PKGBUILD

24 lines
714 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 19263 2008-11-18 03:04:03Z thayer $
# Contributor: dale <dale@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=prboom
pkgver=2.5.0
pkgrel=2
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)
md5sums=('a8a15f61fa2626ab98051ab2703378c4')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
sed -i "s|/games|/bin|g" $srcdir/$pkgname-$pkgver/src/Makefile || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}