diff --git a/srcpkgs/p7zip/template b/srcpkgs/p7zip/template index 0d4b68fe0e3..ca4aed2b16f 100644 --- a/srcpkgs/p7zip/template +++ b/srcpkgs/p7zip/template @@ -2,7 +2,7 @@ pkgname=p7zip version=9.38.1 wrksrc=${pkgname}_${version} -revision=1 +revision=2 hostmakedepends="yasm nasm" short_desc="Command-line version of the 7zip compressed file archive" homepage="http://p7zip.sourceforge.net/" @@ -22,10 +22,11 @@ do_configure() { sed -e "s,gcc,${CC}," -i makefile.machine } do_build() { - make all3 OPTFLAGS="$CXXFLAGS" + make all3 OPTFLAGS="$CXXFLAGS" ${makejobs} } do_install() { make install DEST_DIR="${DESTDIR}" DEST_HOME="/usr" \ DEST_MAN="/usr/share/man" \ DEST_SHARE_DOC="/usr/share/doc/${pkgname}" + find ${DESTDIR}/usr/share/doc/$pkgname -type d -exec chmod 755 {} \; }