enigma: drop noarch.

This commit is contained in:
fosslinux 2020-11-29 12:15:07 +11:00 committed by Đoàn Trần Công Danh
parent f44c9ece16
commit 0ab1d94600
2 changed files with 3 additions and 13 deletions

View File

@ -1 +0,0 @@
enigma

View File

@ -1,17 +1,17 @@
# Template file for 'enigma' # Template file for 'enigma'
pkgname=enigma pkgname=enigma
version=1.21 version=1.21
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="ImageMagick automake libtool gettext-devel SDL-devel pkg-config" hostmakedepends="ImageMagick automake libtool gettext-devel SDL-devel pkg-config"
makedepends="libcurl-devel libxerces-c-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel" makedepends="libcurl-devel libxerces-c-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel"
depends="enigma-data>=${version}_${revision}"
short_desc="Puzzle game inspired by Oxyd on the Atari ST" short_desc="Puzzle game inspired by Oxyd on the Atari ST"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>" maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="http://www.nongnu.org/enigma/" homepage="http://www.nongnu.org/enigma/"
distfiles="${SOURCEFORGE_SITE}/enigma-game/Release%20${version}/${pkgname}-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/enigma-game/Release%20${version}/${pkgname}-${version}.tar.gz"
checksum=d872cf067d8eb560d3bb1cb17245814bc56ac3953ae1f12e2229c8eb6f82ce01 checksum=d872cf067d8eb560d3bb1cb17245814bc56ac3953ae1f12e2229c8eb6f82ce01
replaces="enigma-data>=0"
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL" CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL"
@ -29,17 +29,8 @@ post_install() {
rm -r ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/libenet.a rm -r ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/libenet.a
} }
enigma-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/enigma
}
}
enigma-doc_package() { enigma-doc_package() {
short_desc+=" - documentation" short_desc+=" - documentation"
archs=noarch
pkg_install() { pkg_install() {
vmove usr/share/doc vmove usr/share/doc
} }