void-packages/srcpkgs/chroot-patch/template

27 lines
650 B
Text

# Template file for 'chroot-patch'
pkgname=chroot-patch
version=2.7.1
revision=2
wrksrc="patch-${version}"
build_style=gnu-configure
configure_args="--disable-xattr"
short_desc="Patch files using diff output -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://savannah.gnu.org/projects/patch/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/patch/patch-$version.tar.bz2"
checksum=aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11
bootstrap=yes
post_install() {
rm -rf ${DESTDIR}/usr/share
}
chroot-patch_package() {
conflicts="patch>=0"
provides="patch-${version}"
pkg_install() {
vmove usr
}
}