mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
45 lines
920 B
Bash
45 lines
920 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
pkgname=prboom
|
|
pkgver=2.5.0
|
|
pkgrel=1
|
|
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')
|
|
provides=('doom')
|
|
categories=('games')
|
|
source=("http://downloads.sourceforge.net/prboom/$pkgname-$pkgver.tar.gz"
|
|
'libpng-1.4.patch')
|
|
md5sums=('a8a15f61fa2626ab98051ab2703378c4'
|
|
'ba53474db8e747035ca2320a445e4ae0')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
msg "Patching…"
|
|
|
|
patch -p1 < ../libpng-1.4.patch
|
|
|
|
msg "Building…"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-i386-asm
|
|
|
|
sed -i "s|/games|/bin|g" $srcdir/$pkgname-$pkgver/src/Makefile
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|