musl-legacy-compat: Remove false noarch status

This commit is contained in:
Toyam Cox 2018-09-17 16:14:49 -04:00 committed by Michael Aldridge
parent 999dcd12c9
commit cf7106bdd0

View File

@ -1,17 +1,26 @@
# Template file for 'musl-legacy-compat' # Template file for 'musl-legacy-compat'
pkgname=musl-legacy-compat pkgname=musl-legacy-compat
version=0.3 version=0.3
revision=1 revision=2
noarch=yes
bootstrap=yes bootstrap=yes
only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl"
short_desc="Legacy compatibility headers for the musl libc" short_desc="Legacy compatibility headers for the musl libc"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD" license="BSD-2-Clause, BSD-3-Clause"
homepage="http://www.voidlinux.eu" homepage="http://www.voidlinux.eu"
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
#*) broken="Only valid for musl systems";;
esac
do_install() { do_install() {
for f in ${FILESDIR}/*.h; do for f in ${FILESDIR}/*.h; do
vinstall ${f} 644 usr/include/sys vinstall ${f} 644 usr/include/sys
done done
sed -n '3,32p' < ${FILESDIR}/queue.h > LICENSE.BSD-3-Clause
sed -n '2,26p' < ${FILESDIR}/tree.h > LICENSE.BSD-2-Clause
vlicense LICENSE.BSD-3-Clause
vlicense LICENSE.BSD-2-Clause
} }