summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82d093faf5843f34ac4286a9a2fc496d27f6c26b (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
# Maintainer: Caepom <caepom at gmail dot com>

pkgname='prboom-plus-um'
pkgver='2.6um'
pkgrel='1'
pkgdesc='An advanced, Vanilla-compatible Doom engine based on PrBoom. Includes support for UMAPINFO'
url='https://github.com/coelckers/prboom-plus'
arch=('x86_64' 'i686')
license=('GPL2')
depends=('sdl2')
makedepends=('cmake' 'git')
optdepends=('fluidsynth: Midi support'
            'portmidi: Midi support'
            'libmad: MP3 support'
            'libvorbis: Ogg support'
            'dumb: Tracker support'
            'sdl2_mixer: Midi support'
            'sdl2_net: Network play'
            'sdl2_image: High-res textures and PNG screenshots'
            'glu: OpenGL rendering'
            'pcre: Demo file name pattern matching')
provides=('prboom-plus')
conflicts=('prboom-plus-svn' 'prboom-plus')
source=("git+https://github.com/coelckers/prboom-plus.git#tag=v${pkgver}")
sha1sums=('SKIP')

build() {
  cmake -B build -S "prboom-plus/prboom2" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -Wno-dev
  make -C build
}

package() {

  make -C build DESTDIR="$pkgdir" install
}