void-packages/srcpkgs/starfighter/template

29 lines
789 B
Bash

# Template file for 'starfighter'
pkgname=starfighter
version=2.0.0.2
revision=1
_version="${version%.*.*}"
build_style=gnu-configure
configure_args="exec_prefix=/usr"
hostmakedepends="pkg-config automake"
makedepends="SDL2_image-devel SDL2_mixer-devel"
depends="starfighter-data desktop-file-utils"
short_desc="Side-scrolling shoot 'em up space game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://pr-starfighter.github.io"
distfiles="https://github.com/pr-starfighter/starfighter/archive/v${version}.tar.gz"
checksum=100562f2e12530ff4e360898ec5aace7f2c99806a9cba68d02466e82f8c1ae83
pre_configure() {
autoreconf -fi
}
starfighter-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/starfighter
}
}