cruxports/prboom-plus/Pkgfile

25 lines
776 B
Plaintext
Raw Permalink Normal View History

2022-02-05 20:39:19 +00:00
# Description: classic first-person shooter with demons and ghouls
2023-02-11 01:57:23 +00:00
# URL: https://github.com/coelckers/prboom-plus/
2022-02-05 20:39:19 +00:00
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-04-26 11:51:12 +00:00
# Depends on: libmad sdl2_image sdl2_mixer sdl2_net
2023-06-23 12:44:48 +00:00
# Optional: fluidsynth portmidi timidity++
2022-02-05 20:39:19 +00:00
name=prboom-plus
2023-06-23 12:44:48 +00:00
version=2.6.66
2022-02-05 20:39:19 +00:00
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
2022-12-27 01:47:39 +00:00
cd ..
2022-02-05 20:39:19 +00:00
2023-06-23 12:44:48 +00:00
install -D -m 0644 -t $PKG/usr/share/applications ICONS/prboom-plus.desktop
install -D -m 0644 -t $PKG/usr/share/pixmaps ICONS/prboom-plus.svg
2022-02-05 20:39:19 +00:00
rm -rf "$PKG/usr/share/doc"
}