From 315ed3209e2a521063d0cb5a0e101dcc6d111f1a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 3 May 2018 00:21:46 -0300 Subject: [PATCH] xbps-static: update to 0.52. --- srcpkgs/xbps-static/template | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template index ff106bde297..d15668b52c8 100644 --- a/srcpkgs/xbps-static/template +++ b/srcpkgs/xbps-static/template @@ -1,29 +1,31 @@ # Template file for 'xbps-static' -# # NOTE: keep this package synchronized with "srcpkgs/xbps". pkgname=xbps-static -version=0.51 -revision=13 +version=0.52 +revision=1 +wrksrc="xbps-${version}" build_style=configure +hostmakedepends="pkg-config" +makedepends="libarchive-devel" +depends="xbps-triggers" short_desc="The XBPS package system utilities - static binaries" maintainer="Juan RP " +license="BSD-2-Clause" homepage="https://www.voidlinux.eu/xbps" -license="2-clause-BSD" distfiles="https://github.com/voidlinux/xbps/archive/$version.tar.gz" -checksum=fb97f78a2d1e78ca7fb74426bbc7edac7af36366491dbcf3b97db3aa1b20a8b7 +checksum=f9a584d286c28eaf5a00f2e0ea9a8124b2200d50ecb62d26adcabe51f328b551 -wrksrc="xbps-${version}" -hostmakedepends="pkg-config" -makedepends="zlib-devel libressl-devel libarchive-devel" -depends="xbps-triggers" - -only_for_archs="i686-musl x86_64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl armv6l-musl armv7l-musl aarch64-musl" +case "$XBPS_TARGET_MACHINE" in + *-musl) ;; + *) broken="only for musl arches" ;; +esac CFLAGS="-Wno-error" do_configure() { HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-debug --verbose } + do_install() { make DESTDIR=${wrksrc}/static-install install vmkdir usr/bin