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
1 changed files with 13 additions and 4 deletions

View File

@ -1,17 +1,26 @@
# Template file for 'musl-legacy-compat'
pkgname=musl-legacy-compat
version=0.3
revision=1
noarch=yes
revision=2
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"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
license="BSD-2-Clause, BSD-3-Clause"
homepage="http://www.voidlinux.eu"
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
#*) broken="Only valid for musl systems";;
esac
do_install() {
for f in ${FILESDIR}/*.h; do
vinstall ${f} 644 usr/include/sys
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
}