diff options
author | Alex Brinister | 2021-06-12 20:24:22 -0400 |
---|---|---|
committer | Alex Brinister | 2021-06-12 20:24:22 -0400 |
commit | 618a24bc6e939589aefdbff455b6e6f5087689a1 (patch) | |
tree | 1e23491b7bbef8c831c526dc78cc082ca27c9423 | |
parent | 953f0e529c5d5bc85e81cdba54fb7ed13836881c (diff) | |
download | aur-618a24bc6e939589aefdbff455b6e6f5087689a1.tar.gz |
Updated to 2.6um
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 25 insertions, 18 deletions
@@ -1,11 +1,11 @@ pkgbase = prboom-plus pkgdesc = An advanced, Vanilla-compatible Doom engine based on PrBoom - pkgver = 2.5.1.4 - pkgrel = 4 + pkgver = 2.6um + pkgrel = 1 url = http://prboom-plus.sourceforge.net/ arch = x86_64 - arch = i686 license = GPL2 + makedepends = cmake depends = fluidsynth depends = glu depends = libmad @@ -14,8 +14,7 @@ pkgbase = prboom-plus depends = sdl_mixer depends = sdl_net conflicts = prboom-plus-svn - source = http://download.sourceforge.net/prboom-plus/prboom-plus-2.5.1.4.tar.gz - sha1sums = 73b3b46c36aa693059f2762dcd807bfd0490f130 + source = https://github.com/coelckers/prboom-plus/archive/refs/tags/v2.6um.tar.gz + sha1sums = cd56bf4751fd48ee2a703d8f99b000925bd6af38 pkgname = prboom-plus - @@ -1,33 +1,41 @@ -# Maintainer: Alex Brinister <alex_brinister at yahoo dot com> +# Maintainer: Alex Brinister <IrVQ55Gw9TZ7BW8e at tuta dot io> # Contributor: Kingan <kingan201 at gmail dot com> # Contributor: Frederic Bezies <fredbezies at gmail dot com> # Contributor: Valsu [arch(at)hylia.de] -pkgname='prboom-plus' -pkgver='2.5.1.4' -pkgrel='4' +pkgname=prboom-plus +pkgver=2.6um +pkgrel=1 pkgdesc='An advanced, Vanilla-compatible Doom engine based on PrBoom' url='http://prboom-plus.sourceforge.net/' -arch=('x86_64' 'i686') +arch=('x86_64') license=('GPL2') depends=('fluidsynth' 'glu' 'libmad' 'portmidi' 'sdl_image' 'sdl_mixer' 'sdl_net') +makedepends=('cmake') conflicts=('prboom-plus-svn') -source=("http://download.sourceforge.net/prboom-plus/prboom-plus-$pkgver.tar.gz") -sha1sums=('73b3b46c36aa693059f2762dcd807bfd0490f130') +source=("https://github.com/coelckers/prboom-plus/archive/refs/tags/v$pkgver.tar.gz") +sha1sums=('cd56bf4751fd48ee2a703d8f99b000925bd6af38') + +_rootdir="prboom-plus-${pkgver}/prboom2" +_builddir="${_rootdir}/cbuild" prepare() { - sed -i -E 's/mktemp/mkstemp/g' $(find "prboom-plus-$pkgver" -type f -name r_demo.c) + cd "${srcdir}" + sed -i -E 's/mktemp/mkstemp/g' $(find "${_rootdir}" -type f -name r_demo.c) } build() { - cd "prboom-plus-$pkgver" + cd "${srcdir}" + + mkdir -p "${_builddir}" + cd "${_builddir}" - LDFLAGS="-z muldefs" ./configure --prefix=/usr --without-dumb + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../ make } package() { - cd "prboom-plus-$pkgver" + cd "${srcdir}/${_builddir}" - make DESTDIR="$pkgdir" gamesdir=/usr/bin install + make DESTDIR="${pkgdir}" gamesdir=/usr/bin install } |