xgalaga++: fix license, description, vsed

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.
This commit is contained in:
Colin Booth 2021-06-29 21:20:47 -07:00 committed by Đoàn Trần Công Danh
parent d083d05149
commit 339f93d915

View file

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