diff --git a/srcpkgs/schroot/template b/srcpkgs/schroot/template index ed80e1d7c58..57a3339d60e 100644 --- a/srcpkgs/schroot/template +++ b/srcpkgs/schroot/template @@ -1,7 +1,7 @@ # Template file for 'schroot' pkgname=schroot version=1.7.2 -revision=3 +revision=4 build_pie=yes build_style=cmake configure_args=" @@ -69,8 +69,13 @@ LDFLAGS="-lboost_regex" pre_configure() { sed -i 's/warn/message/g' man/CMakeLists.txt + sed -i '/networks/d' \ + etc/profile-templates/default/all/nssdatabases \ + etc/profile-templates/desktop/all/nssdatabases \ + etc/profile-templates/buildd/all/copyfiles } post_install() { + chmod 4755 $PKGDESTDIR/usr/bin/$pkgname rm -r $PKGDESTDIR/usr/include $PKGDESTDIR/usr/lib/pkgconfig }