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'
pkgname=enigma
version=1.21
revision=3
revision=4
build_style=gnu-configure
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"
depends="enigma-data>=${version}_${revision}"
short_desc="Puzzle game inspired by Oxyd on the Atari ST"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://www.nongnu.org/enigma/"
distfiles="${SOURCEFORGE_SITE}/enigma-game/Release%20${version}/${pkgname}-${version}.tar.gz"
checksum=d872cf067d8eb560d3bb1cb17245814bc56ac3953ae1f12e2229c8eb6f82ce01
replaces="enigma-data>=0"
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL"
@ -29,17 +29,8 @@ post_install() {
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() {
short_desc+=" - documentation"
archs=noarch
pkg_install() {
vmove usr/share/doc
}