void-packages/srcpkgs/rott/template

32 lines
914 B
Bash

# Template file for 'rott'
pkgname=rott
version=1.1.2
revision=1
build_style=gnu-makefile
build_wrksrc=rott
makedepends="SDL_mixer-devel"
short_desc="A port of Apogee's 3D action title Rise of the Triad"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2"
homepage="http://icculus.org/rott/"
distfiles="${homepage}/releases/rott-${version}.tar.gz"
checksum=102516e8c312f6b0bbf6c623e1f01cbfbbc314ace8adfe1f201d47b15bd927ff
do_build() {
make
}
do_install() {
vbin "${FILESDIR}/rott"
vbin rott usr/bin/rott-bin
vman ../doc/rott.6
vinstall ../misc/rott.desktop 644 usr/share/applications
vinstall ../misc/rott.xpm 644 usr/share/pixmaps/rott.xpm
}
# REMARKS:
# There is a single patch in place because a feature is optionally disabled for
# mingw but we need it disabled for musl, since it's not in muslc.
# The makefile is currently very nice and uses our CFLAGS and LDFLAGS without
# any patching.