void-packages/srcpkgs/xgalaga++/template

27 lines
859 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'xgalaga++'
pkgname=xgalaga++
version=0.9
revision=2
build_style=gnu-makefile
make_build_target="all"
_high_scores_dir="/var/games/xgalaga++"
make_dirs="$_high_scores_dir 0775 root users"
makedepends="libX11-devel libXpm-devel"
short_desc="Classic single screen vertical shoot em up"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://marc.mongenet.ch/OSS/XGalaga/"
distfiles="http://marc.mongenet.ch/OSS/XGalaga/xgalaga++_${version}.tar.gz"
checksum=c8db4bb9808c1cbbd001533b08318f6ab76b877ab6ed313d977d6a8546cc7fc9
post_extract() {
vsed -i -e 's|$(installprefix)/games|$(installprefix)/bin|' \
-e 's|EXE_GROUP=games|EXE_GROUP=users|' \
-e "s|HIGH_SCORES_FILE=.*|HIGH_SCORES_FILE=$_high_scores_dir/scores|" Makefile
}
do_install() {
vbin xgalaga++
vman xgalaga++.6x
}