31 lines
1.3 KiB
Bash
31 lines
1.3 KiB
Bash
# Template file for 'supertuxkart'
|
|
pkgname=supertuxkart
|
|
version=1.4
|
|
revision=3
|
|
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 mcpp-devel MesaLib-devel openssl-devel zlib-devel
|
|
SDL2-devel glew-devel shaderc"
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/supertuxkart/stk-code/master/CHANGELOG.md"
|
|
distfiles="https://github.com/supertuxkart/stk-code/releases/download/${version}/SuperTuxKart-${version}-src.tar.xz"
|
|
checksum=9890392419baf4715313f14d5ad60746f276eed36eb580636caf44e2532c0f03
|
|
|
|
supertuxkart-data_package() {
|
|
short_desc+=" - data files"
|
|
pkg_install() {
|
|
# these scripts only serve a purpose 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
|
|
}
|
|
}
|