fakeroot: update to 1.21.

This commit is contained in:
Christian Neukirchen 2016-07-17 17:14:40 +02:00
parent b9ae8e143b
commit 917e92a827

View file

@ -1,21 +1,26 @@
# Template file for 'fakeroot' # Template file for 'fakeroot'
pkgname=fakeroot pkgname=fakeroot
version=1.20.2 version=1.21
revision=3 revision=1
lib32disabled=yes lib32disabled=yes
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="acl-devel libcap-devel" makedepends="acl-devel libcap-devel"
configure_args="--disable-static" configure_args="--disable-static"
short_desc="Gives a fake root environment" short_desc="Gives a fake root environment"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://packages.debian.org/fakeroot" homepage="http://packages.debian.org/fakeroot"
license="GPL-3" license="GPL-3"
distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2" distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.gz"
checksum=7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c checksum=5d293c1b3604b2a9265d1811a9890c749887ef08aec55f3237d32bf35836171a
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-D_STAT_VER=0" ;; *-musl) CFLAGS="-D_STAT_VER=0" ;;
esac esac
pre_configure() {
sed -i /SUBDIRS/d doc/Makefile.am
sh ./bootstrap
}
post_install() { post_install() {
# Use /bin/sh shebang. # Use /bin/sh shebang.
sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot