From cf7106bdd02cb468c1bba03989da7551999ed690 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Mon, 17 Sep 2018 16:14:49 -0400 Subject: [PATCH] musl-legacy-compat: Remove false noarch status --- srcpkgs/musl-legacy-compat/template | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/srcpkgs/musl-legacy-compat/template b/srcpkgs/musl-legacy-compat/template index 014e8a22057..737c72872b4 100644 --- a/srcpkgs/musl-legacy-compat/template +++ b/srcpkgs/musl-legacy-compat/template @@ -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 " -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 }