openlierox: drop noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-10-05 07:28:09 +07:00
parent c96e96bd3a
commit b38cf01180
2 changed files with 4 additions and 12 deletions

View file

@ -1 +0,0 @@
openlierox

View file

@ -1,21 +1,22 @@
# Template file for 'openlierox'
pkgname=openlierox
version=0.58.rc5
revision=1
revision=2
wrksrc=OpenLieroX
build_style=cmake
configure_args="-DSYSTEM_DATA_DIR=/usr/share -DDEBUG=OFF -DBREAKPAD=OFF"
hostmakedepends="pkg-config python"
makedepends="SDL_image-devel SDL_mixer-devel freealut-devel
gd-devel libcurl-devel libvorbis-devel libxml2-devel libzip-devel"
depends="openlierox-data virtual?libGL python"
depends="virtual?libGL python"
short_desc="Addictive real-time excessive Worms-clone"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://www.openlierox.net/"
distfiles="${SOURCEFORGE_SITE}/openlierox/OpenLieroX_${version/.rc/_rc}.src.tar.bz2"
checksum=3e029aba20f22d902027293e1f1a196e2f1794455cb2483d099709d7fb6c5fbb
python_version=2
replaces="openlierox-data>=0"
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2"
case "$XBPS_TARGET_MACHINE" in
@ -39,11 +40,3 @@ do_install() {
find ${DESTDIR}/usr/share/OpenLieroX -type d -exec chmod 755 "{}" \;
find ${DESTDIR}/usr/share/OpenLieroX -type f -exec chmod 644 "{}" \;
}
openlierox-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/OpenLieroX
}
}