Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=8645a09f1f94687180166b6082a01be6c5be508b

commit 8645a09f1f94687180166b6082a01be6c5be508b
Author: crazy <[email protected]>
Date:   Sun Feb 11 01:08:46 2018 +0100

7zip-16.02-2-x86_64

* rebuild with tc
* use Fexec

diff --git a/source/apps-extra/7zip/FrugalBuild 
b/source/apps-extra/7zip/FrugalBuild
index 8fc1c1e..abcdd1b 100644
--- a/source/apps-extra/7zip/FrugalBuild
+++ b/source/apps-extra/7zip/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=7zip
pkgver=16.02
-pkgrel=1
+pkgrel=2
pkgdesc="7-Zip is a file archiver with high compression ratio."
_F_sourceforge_dirname="p7zip"
_F_sourceforge_name="p7zip"
@@ -14,7 +14,7 @@ Finclude sourceforge
url="http://www.7-zip.org/";
depends=('libstdc++')
groups=('apps-extra')
-archs=('i686' 'x86_64')
+archs=('x86_64')
options=('nodocs' 'nostrip')
sha1sums=('e8819907132811aa1afe5ef296181d3a15cc8f22')

@@ -25,13 +25,11 @@ build()
Fsed "/usr/man" "/usr/share/man" install.sh
Fsed "DEST_HOME=/usr/local" "DEST_HOME=/usr" install.sh
Fsed "DEST_DIR=" "DEST_DIR=$Fdestdir" install.sh
-       if [ "$CARCH" == "x86_64" ]; then
-          mv -f makefile.linux_amd64 makefile.machine
-       fi
+       Fexec mv -f makefile.linux_amd64 makefile.machine
Fsed "OPTFLAGS=-O" "OPTFLAGS=$CFLAGS" makefile.machine
-       make all3 || return 1
-       chmod +x install.sh || Fdie
-       sh ./install.sh || Fdie
+       Fexec make all3 || return 1
+       Fexec chmod +x install.sh || Fdie
+       Fexec sh ./install.sh || Fdie
Fmv  usr/man usr/share/man
Fln /usr/lib/p7zip/7zCon.sfx /usr/bin/7zCon.sfx
Fmv usr/share/doc/p7zip /usr/share/doc/$pkgname-$pkgver
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to