diff options
author | BuildTools | 2021-02-10 19:00:11 +0100 |
---|---|---|
committer | BuildTools | 2021-02-10 19:00:11 +0100 |
commit | 92bd5506482bbdc8f2a3930834d0e262aeb8f25a (patch) | |
tree | 41a23727cf4d2aa1b8ab740f77e937109b32de3d | |
download | aur-92bd5506482bbdc8f2a3930834d0e262aeb8f25a.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b495c4395a8e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = dsda-doom-git + pkgdesc = Fork of PrBoom+ with extra tooling for demo recording and playback, with a focus on speedrunning (git version) + pkgver = r3488.4b2c6a8c + pkgrel = 1 + url = https://github.com/kraflab/dsda-doom + arch = x86_64 + license = GPL + makedepends = deutex + makedepends = imagemagick + makedepends = git + depends = fluidsynth + depends = glu + depends = libmad + depends = portmidi + depends = sdl2_image + depends = sdl2_mixer + depends = sdl2_net + depends = dumb + provides = prboom-plus + conflicts = prboom-plus + source = git+https://github.com/kraflab/dsda-doom.git + sha256sums = SKIP + +pkgname = dsda-doom-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d9e5799c1e74 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Mike Cuche <cuche@gmx.com> +pkgname=dsda-doom-git +pkgver=r3488.4b2c6a8c +pkgrel=1 +pkgdesc="Fork of PrBoom+ with extra tooling for demo recording and playback, with a focus on speedrunning (git version)" +arch=('x86_64') +url="https://github.com/kraflab/dsda-doom" +license=('GPL') +depends=('fluidsynth' 'glu' 'libmad' 'portmidi' 'sdl2_image' 'sdl2_mixer' 'sdl2_net' 'dumb') +makedepends=('deutex' 'imagemagick' 'git') +provides=('prboom-plus') +conflicts=('prboom-plus') +source=('git+https://github.com/kraflab/dsda-doom.git') +sha256sums=('SKIP') + + +pkgver() { + cd dsda-doom + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/dsda-doom/prboom2" + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/dsda-doom/prboom2" + make DESTDIR="${pkgdir}" install + install -Dm644 ICONS/prboom-plus.svg "${pkgdir}"/usr/share/pixmaps/prboom-plus.svg + install -Dm644 ICONS/prboom-plus.desktop "${pkgdir}"/usr/share/applications/prboom-plus.desktop +} |