34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# Template file for 'supertuxkart'
|
|
pkgname=supertuxkart
|
|
version=1.3
|
|
revision=1
|
|
wrksrc="SuperTuxKart-${version}-src"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgomp-devel libjpeg-turbo-devel libpng-devel
|
|
libbluetooth-devel glu-devel libvorbis-devel libXrandr-devel
|
|
libopenal-devel fribidi-devel libcurl-devel freetype-devel
|
|
libopenglrecorder-devel wayland-devel harfbuzz-devel libenet-devel
|
|
libogg-devel MesaLib-devel openssl-devel zlib-devel SDL2-devel glew-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme supertuxkart-data"
|
|
short_desc="Kart racing game featuring Tux and his friends"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://supertuxkart.net"
|
|
distfiles="https://github.com/${pkgname}/stk-code/releases/download/${version}/SuperTuxKart-${version}-src.tar.xz"
|
|
checksum=eeabeb0d9801688a218f6f0a76ea3546a46a322ccaca9a258148ecacfe083ffd
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
supertuxkart-data_package() {
|
|
short_desc+=" - data files"
|
|
pkg_install() {
|
|
# these script only serve a prupose for developing, not to the package
|
|
rm "${DESTDIR}/usr/share/supertuxkart/data/po/extract_strings_from_XML.py"
|
|
rm "${DESTDIR}/usr/share/supertuxkart/data/po/update_po_authors.py"
|
|
vmove usr/share/supertuxkart
|
|
}
|
|
}
|