32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'quakespasm'
|
|
pkgname=quakespasm
|
|
version=0.96.3
|
|
revision=1
|
|
build_wrksrc="Quake"
|
|
build_style=gnu-makefile
|
|
make_build_args="DO_USERDIRS=1 USE_SDL2=1"
|
|
make_use_env=yes
|
|
makedepends="SDL2-devel libmad-devel"
|
|
short_desc="Modern Quake 1 engine"
|
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://quakespasm.sourceforge.net/"
|
|
changelog="http://quakespasm.sourceforge.net/Quakespasm.html#s5"
|
|
distfiles="${SOURCEFORGE_SITE}/quakespasm/Source/quakespasm-${version}.tar.gz"
|
|
checksum=b578d6ce4a4f7f4e26a24458f18c4bcc8d3854ae6252eb9982ee81d95e50180e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) makedepends+=" MesaLib-devel"
|
|
esac
|
|
|
|
post_build() {
|
|
vsed -i ../Linux/net.sourceforge.quakespasm.Quakespasm.desktop \
|
|
-e 's/Icon=net.sourceforge.quakespasm.Quakespasm/Icon=quakespasm/'
|
|
}
|
|
|
|
do_install() {
|
|
vbin quakespasm
|
|
vinstall ../Misc/QuakeSpasm_512.png 644 usr/share/pixmaps quakespasm.png
|
|
vinstall ../Linux/net.sourceforge.quakespasm.Quakespasm.desktop 644 usr/share/applications
|
|
}
|