blob: 6c483b53e5b4f2835b68cebd9d1f9f8109bb63bc (
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
37
38
39
40
41
42
43
44
45
|
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=prboom-plus-svn
pkgver=4540
pkgrel=1
pkgdesc="An enhanced version of the PrBoom Doom engine port"
arch=('i686' 'x86_64')
url="http://prboom-plus.sourceforge.net/"
license=('GPL')
depends=('fluidsynth' 'glu' 'libmad' 'portmidi' 'sdl2_image' 'sdl2_mixer' 'sdl2_net')
makedepends=('deutex' 'freedoom2' 'imagemagick' 'subversion')
conflicts=('prboom-plus')
source=('prboom-plus::svn+https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2'
prboom-plus.desktop prboom-plus-game-server.desktop)
sha256sums=('SKIP'
'a858c1dbb4fb10f87d1348ae5a521726e5e6f9ba4e41a392af57aa5b9b6d791d'
'013f1ebf0ff41592b44d8cd510824d258dd06a53ddedafc1e87403a70d37159a')
pkgver() {
cd prboom-plus
local ver="$(svnversion)"
printf "%s" "${ver//[[:alpha:]]}"
}
build() {
cd prboom-plus
sed 's|/games|/bin|g' -i src/Makefile.am
sed 's|CFLAGS_OPT=.*|:|g' -i configure.ac
./bootstrap
./configure --prefix=/usr --with-waddir=/usr/share/games/doom
make
}
package() {
cd "${srcdir}/prboom-plus"
make DESTDIR="${pkgdir}" install
install -dm755 "${pkgdir}"/usr/share/{applications,pixmaps}
install -m644 ICONS/prboom-plus.svg "${pkgdir}"/usr/share/pixmaps/prboom-plus.svg
install -m644 ../prboom-plus{,-game-server}.desktop "${pkgdir}"/usr/share/applications/
}
|