void-packages/srcpkgs/sopwith/template

25 lines
726 B
Bash

# Template file for 'sopwith'
pkgname=sopwith
version=1.8.4
revision=2
build_style=gnu-configure
hostmakedepends="automake SDL-devel"
makedepends="SDL-devel"
short_desc="Sidescrolling shoot 'em up game"
maintainer="beefcurtains <beefcurtains@users.noreply.github.com>"
license="GPL-2.0-or-later"
homepage="http://sdl-sopwith.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/sdl-sopwith/sdl_sopwith/${version}/sopwith-${version}.tar.gz"
checksum=a5ecb795a7aeff6be3ebfb99f1c6218054b73048786809f8468a92c952c17bd0
patch_args=-Np0
pre_configure() {
mv configure.{in,ac}
autoreconf -fi
}
post_install() {
vinstall ${FILESDIR}/sopwith.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/sopwith.desktop 644 usr/share/applications
}