2015-10-09 09:26:23 +00:00
|
|
|
# Template file for 'Maelstrom'
|
|
|
|
pkgname=Maelstrom
|
2016-10-10 16:47:14 +00:00
|
|
|
version=3.0.6a
|
2015-10-09 09:26:23 +00:00
|
|
|
revision=1
|
2016-10-10 16:47:14 +00:00
|
|
|
wrksrc="${pkgname}-${version%a}"
|
2015-10-09 09:26:23 +00:00
|
|
|
build_style=gnu-configure
|
2016-10-10 16:47:14 +00:00
|
|
|
hostmakedepends="automake libtool SDL_net-devel"
|
2015-10-09 09:26:23 +00:00
|
|
|
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"
|
2016-10-10 16:47:14 +00:00
|
|
|
checksum=342557bcc89eea57af4272778d3511be95fe46cf75e291298a15caa49a2f0e29
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
mv configure.{in,ac}
|
|
|
|
./autogen.sh
|
|
|
|
}
|
2015-10-09 09:26:23 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|