void-packages/srcpkgs/Maelstrom/template

24 lines
839 B
Bash
Raw Normal View History

2015-10-09 09:26:23 +00:00
# Template file for 'Maelstrom'
pkgname=Maelstrom
version=3.0.6
revision=1
build_style=gnu-configure
makedepends="SDL_net-devel"
short_desc="Guide your ship through the Maelstrom asteroid belt"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://www.libsdl.org/projects/${pkgname}/"
distfiles="${homepage}/src/${pkgname}-${version}.tar.gz"
checksum=e7983c2c7376cdcca1944db1706d92aedd529638cf13358c88a60df982ba7b46
post_install() {
make target=${DESTDIR}/usr/share/doc/$pkgname install_gamedocs
# Remove useless file
rm -vf ${DESTDIR}/usr/share/doc/$pkgname/Docs/Makefile
vman ${FILESDIR}/Maelstrom.6
vmkdir usr/share/applications
vinstall ${FILESDIR}/Maelstrom.desktop 644 usr/share/applications
vmkdir usr/share/pixmaps
ln -s ../$pkgname/icon.xpm ${DESTDIR}/usr/share/pixmaps/$pkgname.xpm
}