void-packages/srcpkgs/fakeroot/template

25 lines
726 B
Plaintext
Raw Normal View History

# Template file for 'fakeroot'
pkgname=fakeroot
2013-09-23 08:10:31 +02:00
version=1.20
2014-04-22 15:10:33 +02:00
revision=5
2014-03-15 10:05:34 +01:00
lib32disabled=yes
2014-02-19 14:37:00 +01:00
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>"
2011-06-14 15:25:09 +02:00
homepage="http://packages.debian.org/fakeroot"
license="GPL-3"
distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2"
2013-09-23 08:11:30 +02:00
checksum=2297b7e79487cf0bbc64ff6d3d02446d895e82e2b26467c74fd1119011f6f098
2014-04-22 15:10:33 +02:00
pre_install() {
# Drop localized manpages.
sed -e 's,SUBDIRS =.*,SUBDIRS=,g' -i doc/Makefile
}
2011-12-03 08:05:38 +01:00
post_install() {
# Use /bin/sh shebang.
sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot
}