freedroidRPG: remove noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-29 18:56:43 +07:00 committed by Daniel Kolesa
parent fde73f8a74
commit 8673315fd8
2 changed files with 3 additions and 12 deletions

View file

@ -1 +0,0 @@
freedroidRPG

View file

@ -1,20 +1,20 @@
# Template file for 'freedroidRPG'
pkgname=freedroidRPG
version=0.16.1
revision=1
revision=2
wrksrc=${pkgname,,}-${version}
build_style=gnu-configure
hostmakedepends="pkg-config python"
makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel
libjpeg-turbo-devel libvorbis-devel lua53-devel libpng-devel"
depends="${pkgname}-data>=${version}_${revision}"
short_desc="Role playing game featuring Tux and evil robots"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
license="GPL-2.0-or-later"
homepage="http://www.freedroid.org/"
distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgname}-${version}.tar.gz"
checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
python_version=2
replaces="freedroidRPG-data>=0"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" --disable-backtrace"
@ -41,11 +41,3 @@ post_install() {
sed -i ${PKGDESTDIR}/usr/share/applications/${pkgname,,}.desktop \
-e "/^Exec/s;=${pkgname};=${script};"
}
freedroidRPG-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/freedroidrpg
}
}