24 lines
726 B
Text
24 lines
726 B
Text
# Template file for 'fakeroot'
|
|
pkgname=fakeroot
|
|
version=1.20
|
|
revision=5
|
|
lib32disabled=yes
|
|
conflicts="chroot-fakeroot>=0"
|
|
build_style=gnu-configure
|
|
makedepends="acl-devel libcap-devel"
|
|
configure_args="--disable-static"
|
|
short_desc="Gives a fake root environment"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://packages.debian.org/fakeroot"
|
|
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
|
|
}
|