libxslt: remove references to XBPS_WRAPPERDIR in xslt-config

This commit is contained in:
Alessio Sergi 2016-08-29 13:32:29 +02:00
parent 691e1594f3
commit f25c7d9f6d

View file

@ -1,7 +1,7 @@
# Template build file for 'libxslt'. # Template build file for 'libxslt'.
pkgname=libxslt pkgname=libxslt
version=1.1.29 version=1.1.29
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
makedepends="python-devel libxml2-devel libgcrypt-devel" makedepends="python-devel libxml2-devel libgcrypt-devel"
@ -26,6 +26,8 @@ if [ "$CROSS_BUILD" ]; then
fi fi
post_install() { post_install() {
# Remove references to the install(1) wrapper.
sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i ${DESTDIR}/usr/bin/xslt-config
vlicense COPYING vlicense COPYING
} }