# Template file for 'sopwith'
pkgname=sopwith
version=1.8.4
revision=1
build_style=gnu-configure
makedepends="SDL-devel"
hostmakedepends="automake ${makedepends}"
short_desc="Sidescrolling shoot 'em up game"
maintainer="beefcurtains <beefcurtains@users.noreply.github.com>"
license="GPL-2"
homepage="http://sdl-sopwith.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/sdl-sopwith/sdl_sopwith/${version}/${pkgname}-${version}.tar.gz"
checksum=a5ecb795a7aeff6be3ebfb99f1c6218054b73048786809f8468a92c952c17bd0

pre_configure() {
	mv configure.{in,ac}
	autoreconf -fi
}

post_install() {
	vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
	vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
}
