diff --git a/srcpkgs/fakeroot/template b/srcpkgs/fakeroot/template index f32f8412cf..6ac9932da9 100644 --- a/srcpkgs/fakeroot/template +++ b/srcpkgs/fakeroot/template @@ -14,10 +14,6 @@ license="GPL-3" distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2" checksum=19d3aaf0b71c04d7e4f1dcf7e05152def735b2076faee7c2c66af08d17c18db2 -pre_configure() { - # Get rid of localized manpages. - sed -i '/SUBDIRS/d' doc/Makefile.in -} post_install() { # Use /bin/sh shebang. sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template index 16615a76cd..2db34fbd75 100644 --- a/srcpkgs/nmap/template +++ b/srcpkgs/nmap/template @@ -25,11 +25,6 @@ else configure_args+=" --without-zenmap" fi -post_install() { - # Get rid of localized manpages. - find ${DESTDIR}/usr/share/man -maxdepth 1 -type d -name '[^man]*' -exec rm -rf {} + -} - nmapfe_package() { noarch=yes depends="nmap>=$version desktop-file-utils pygtk" diff --git a/srcpkgs/vim/template b/srcpkgs/vim/template index 764ff11ae0..538f2b9015 100644 --- a/srcpkgs/vim/template +++ b/srcpkgs/vim/template @@ -91,8 +91,6 @@ do_install() { rm -f ${DESTDIR}/usr/bin/{ex,view} find ${DESTDIR}/usr/share/man -type f -name evim.1 -delete - # Get rid of localized manpages. - find ${DESTDIR}/usr/share/man -maxdepth 1 -type d -name '[^man]*' -exec rm -rf {} + } vim-common_package() {