2012-02-28 10:10:30 +01:00
|
|
|
# Template file for 'chroot-patch'
|
|
|
|
pkgname=chroot-patch
|
2012-09-29 10:13:36 +02:00
|
|
|
version=2.7.1
|
2013-02-02 14:22:23 +01:00
|
|
|
revision=2
|
2012-02-28 10:10:30 +01:00
|
|
|
wrksrc="patch-${version}"
|
|
|
|
build_style=gnu-configure
|
2013-02-02 14:22:23 +01:00
|
|
|
configure_args="--disable-xattr"
|
2012-02-28 10:10:30 +01:00
|
|
|
short_desc="Patch files using diff output -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-31 12:39:48 +01:00
|
|
|
homepage="http://savannah.gnu.org/projects/patch/"
|
|
|
|
license="GPL-3"
|
2013-02-02 14:22:23 +01:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/patch/patch-$version.tar.bz2"
|
|
|
|
checksum=aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11
|
2012-02-28 10:10:30 +01:00
|
|
|
|
|
|
|
bootstrap=yes
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
chroot-patch_package() {
|
|
|
|
conflicts="patch>=0"
|
|
|
|
provides="patch-${version}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|