339f93d915
The version of the GPL is entirely a guess. The package itself says: "This software is released under the GNU General Public License." So I'm assuming that it's bound by whatever the latest GPL is.
26 lines
859 B
Bash
26 lines
859 B
Bash
# 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
|
||
}
|