diff --git a/app-arch/p7zip/p7zip-9.20.1.recipe b/app-arch/p7zip/p7zip-9.20.1.recipe index eb3a6dbd2..8b7d6bbaf 100644 --- a/app-arch/p7zip/p7zip-9.20.1.recipe +++ b/app-arch/p7zip/p7zip-9.20.1.recipe @@ -5,7 +5,7 @@ SRC_URI="http://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20. CHECKSUM_MD5="bd6caaea567dc0d995c990c5cc883c89" LICENSE="GNU LGPL v2.1" COPYRIGHT="1999-2011 7-Zip Igor Pavlov." -REVISION="3" +REVISION="4" ARCHITECTURES="x86_gcc2 ?x86" PATCHES="p7zip-9.20.1.patch" @@ -38,4 +38,8 @@ INSTALL() { make install DEST_DIR="" DEST_HOME=$prefix DEST_SHARE_DOC=$docDir \ DEST_MAN=$manDir + + expanderRulesDir=$dataDir/expander/rules + mkdir -p $expanderRulesDir + cp "$portDir/sources/p7zip-expander-rules" "$expanderRulesDir/p7zip" } diff --git a/app-arch/p7zip/sources/p7zip-expander-rules b/app-arch/p7zip/sources/p7zip-expander-rules new file mode 100644 index 000000000..42e093864 --- /dev/null +++ b/app-arch/p7zip/sources/p7zip-expander-rules @@ -0,0 +1 @@ +"application/x-7z-compressed" .7z "7za l %s" "7za x -y %s"