void-packages/srcpkgs/xbps-static/template
Juan RP 21fdf73989 srcpkgs: replace all refs from voidlinux.eu to voidlinux.org.
Revbumped affected packages.

Signed-off-by: Juan RP <xtraeme@gmail.com>

[ci skip]
2019-06-06 18:42:35 +02:00

36 lines
1,011 B
Bash

# Template file for 'xbps-static'
# NOTE: keep this package synchronized with "srcpkgs/xbps".
pkgname=xbps-static
version=0.53
revision=2
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 <xtraeme@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.voidlinux.org/xbps"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
checksum=360b3149141fec46dd6da9019605bcee48ee4d29bffe5aa47a9fd5fa68ccd5f4
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*) broken="only for musl arches" ;;
esac
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
mv ${wrksrc}/static-install/usr/bin/*.static ${DESTDIR}/usr/bin
}
post_install() {
vlicense COPYING
vlicense COPYING.3RDPARTY
}