28 lines
781 B
Bash
28 lines
781 B
Bash
# Template file for 'rott'
|
|
pkgname=rott
|
|
version=1.1.2
|
|
revision=2
|
|
build_wrksrc=rott
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
makedepends="SDL_mixer-devel SDL-devel"
|
|
short_desc="Port of Apogee's 3D action title Rise of the Triad"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://icculus.org/rott/"
|
|
distfiles="${homepage}/releases/rott-${version}.tar.gz"
|
|
checksum=102516e8c312f6b0bbf6c623e1f01cbfbbc314ace8adfe1f201d47b15bd927ff
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends+=" libexecinfo-devel"
|
|
export LDLIBS="-lexecinfo"
|
|
fi
|
|
|
|
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
|
|
}
|