27 lines
847 B
Bash
27 lines
847 B
Bash
|
# Template file for 'xgalaga++'
|
|||
|
pkgname=xgalaga++
|
|||
|
version=0.9
|
|||
|
revision=1
|
|||
|
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="A classic single screen vertical shoot ’em up"
|
|||
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|||
|
license="GPL-3"
|
|||
|
homepage="http://marc.mongenet.ch/OSS/XGalaga/"
|
|||
|
distfiles="http://marc.mongenet.ch/OSS/XGalaga/xgalaga++_${version}.tar.gz"
|
|||
|
checksum=c8db4bb9808c1cbbd001533b08318f6ab76b877ab6ed313d977d6a8546cc7fc9
|
|||
|
|
|||
|
post_extract() {
|
|||
|
sed -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
|
|||
|
}
|