mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
714 B
Bash
24 lines
714 B
Bash
|
# $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
|
||
|
}
|
||
|
|