void-packages/srcpkgs/xdelta3/template

21 lines
623 B
Bash

# Template file for 'xdelta3'
pkgname=xdelta3
version=3.1.0
revision=1
build_style=gnu-configure
makedepends="liblzma-devel"
short_desc="Delta/differential compression tools, VCDIFF/RFC 3284 delta compression"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://xdelta.org"
distfiles="https://github.com/jmacd/xdelta-devel/releases/download/v$version/$pkgname-$version.tar.gz"
checksum=114543336ab6cee3764e3c03202701ef79d7e5e8e4863fe64811e4d9e61884dc
case "${XBPS_TARGET_MACHINE}" in
aarch64) LDFLAGS="-Wl,-znotext";;
esac
post_extract() {
sed -i 's|xdelta3regtest||' Makefile.in
}