Cataclysm-DDA: drop noarch
This commit is contained in:
parent
c68cce2fae
commit
92f8205775
2 changed files with 4 additions and 12 deletions
|
@ -1 +0,0 @@
|
||||||
Cataclysm-DDA/
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'Cataclysm-DDA'
|
# Template file for 'Cataclysm-DDA'
|
||||||
pkgname=Cataclysm-DDA
|
pkgname=Cataclysm-DDA
|
||||||
version=0.E
|
version=0.E
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DRELEASE=1 $(vopt_bool backtrace BACKTRACE) -DUSE_HOME_DIR=1 -DPREFIX=/usr"
|
configure_args="-DRELEASE=1 $(vopt_bool backtrace BACKTRACE) -DUSE_HOME_DIR=1 -DPREFIX=/usr"
|
||||||
hostmakedepends="gettext pkg-config"
|
hostmakedepends="gettext pkg-config"
|
||||||
|
@ -23,8 +23,9 @@ case $XBPS_TARGET_MACHINE in
|
||||||
*) build_options_default+=" backtrace";;
|
*) build_options_default+=" backtrace";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
subpackages="Cataclysm-DDA-data"
|
||||||
if [ "$build_option_tiles" ]; then
|
if [ "$build_option_tiles" ]; then
|
||||||
subpackages="Cataclysm-DDA-tiles-data Cataclysm-DDA-tiles"
|
subpackages+=" Cataclysm-DDA-tiles"
|
||||||
post_configure() {
|
post_configure() {
|
||||||
local cmake_builddir=build-tiles
|
local cmake_builddir=build-tiles
|
||||||
configure_args+=" -DTILES=ON -DSOUND=ON"
|
configure_args+=" -DTILES=ON -DSOUND=ON"
|
||||||
|
@ -41,7 +42,6 @@ if [ "$build_option_tiles" ]; then
|
||||||
do_install
|
do_install
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
subpackages+=" Cataclysm-DDA-data"
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
: #needs tap++.h
|
: #needs tap++.h
|
||||||
|
@ -50,15 +50,9 @@ do_check() {
|
||||||
Cataclysm-DDA-tiles_package() {
|
Cataclysm-DDA-tiles_package() {
|
||||||
short_desc+=" - SDL tiles version"
|
short_desc+=" - SDL tiles version"
|
||||||
depends="Cataclysm-DDA-data Cataclysm-DDA-tiles-data"
|
depends="Cataclysm-DDA-data Cataclysm-DDA-tiles-data"
|
||||||
|
replaces="Cataclysm-DDA-tiles-data>=0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/cataclysm-tiles
|
vmove usr/bin/cataclysm-tiles
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Cataclysm-DDA-tiles-data_package() {
|
|
||||||
short_desc+=" - tiles data files"
|
|
||||||
archs=noarch
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/share/cataclysm-dda/gfx
|
vmove usr/share/cataclysm-dda/gfx
|
||||||
vmove usr/share/cataclysm-dda/sound
|
vmove usr/share/cataclysm-dda/sound
|
||||||
}
|
}
|
||||||
|
@ -66,7 +60,6 @@ Cataclysm-DDA-tiles-data_package() {
|
||||||
|
|
||||||
Cataclysm-DDA-data_package() {
|
Cataclysm-DDA-data_package() {
|
||||||
short_desc+=" - data files"
|
short_desc+=" - data files"
|
||||||
archs=noarch
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue