From 6950b6ebc28c4d6e54de12711c884bf3c17d5476 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 22 Apr 2014 15:10:33 +0200 Subject: [PATCH] fakeroot: drop localized manpages. --- srcpkgs/fakeroot/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/fakeroot/template b/srcpkgs/fakeroot/template index 1f4db91d0a2..0d9f206559d 100644 --- a/srcpkgs/fakeroot/template +++ b/srcpkgs/fakeroot/template @@ -1,7 +1,7 @@ # Template file for 'fakeroot' pkgname=fakeroot version=1.20 -revision=4 +revision=5 lib32disabled=yes conflicts="chroot-fakeroot>=0" build_style=gnu-configure @@ -14,6 +14,10 @@ license="GPL-3" distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2" checksum=2297b7e79487cf0bbc64ff6d3d02446d895e82e2b26467c74fd1119011f6f098 +pre_install() { + # Drop localized manpages. + sed -e 's,SUBDIRS =.*,SUBDIRS=,g' -i doc/Makefile +} post_install() { # Use /bin/sh shebang. sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot