blob: ce7bd9be06735947491ca17ab1246777b444c761 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Vaporeon <vaporeon@vaporeon.io>
pkgname=prboom-svn
pkgver=4553
pkgrel=1
arch=('x86_64')
pkgdesc='A game engine which provides a program to play Doom levels, SVN'
url='http://prboom.sourceforge.net/'
license=('GPL')
depends=('libpng' 'sdl_mixer' 'sdl_net' 'glu')
makedepends=('mesa' 'subversion')
conflicts=('prboom')
source=("prboom::svn+https://svn.prboom.org/repos/trunk/prboom2/")
md5sums=('SKIP')
export CFLAGS+=' -fcommon'
pkgver() {
cd prboom
ver="$(svnversion)"
printf "%s" "${ver//[[:alpha:]]}"
}
build() {
cd "${srcdir}/prboom"
sed 's|/games|/bin|g' -i src/Makefile.am
./bootstrap
./configure --prefix=/usr --disable-i386-asm
make
}
package() {
cd "${srcdir}/prboom"
make DESTDIR="${pkgdir}/" install
}
|