cruxports/prboom-plus/Pkgfile

22 lines
618 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# Description: classic first-person shooter with demons and ghouls
# URL: http://prboom-plus.sourceforge.net/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: cmake sdl2_net sdl2_mixer sdl2_image libmad
# Nice to have: fluidsynth portmidi timidity++
name=prboom-plus
version=2.6um
release=1
source=(https://github.com/coelckers/prboom-plus/archive/v$version/$name-$version.tar.gz)
build() {
cd "$name-$version"/prboom2
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/share/doc"
}