void-packages/srcpkgs/supertuxkart/template

31 lines
1.2 KiB
Bash

# Template file for 'supertuxkart'
pkgname=supertuxkart
version=1.1
revision=3
archs="i686* x86_64* ppc64* aarch64*"
wrksrc="${pkgname}-${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"
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="http://supertuxkart.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.xz"
checksum=e9b02b0b11ab68aacaec38306903feffe59a501224805cd3645cebf10e880ae8
supertuxkart-data_package() {
short_desc+=" - data files"
archs=noarch
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
}
}