summaryrefslogtreecommitdiff
path: root/libre/p7zip-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/p7zip-libre/PKGBUILD')
-rw-r--r--libre/p7zip-libre/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD
index 2e6ab6e01..8696a1bfa 100644
--- a/libre/p7zip-libre/PKGBUILD
+++ b/libre/p7zip-libre/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=p7zip-libre
_pkgname=${pkgname%-libre}
pkgver=9.20.1
-pkgrel=6
+pkgrel=6.1
pkgdesc='Command-line version of the 7zip compressed file archiver without Rar'
url='http://p7zip.sourceforge.net/'
license=('GPL')
@@ -39,7 +39,7 @@ mksource() {
msg "Removing unRar"
# Generate patch
# sed -e '/Rar/d' -i makefile*
-# find -name '*Rar*' -print0 | xargs -0 rm -rvf
+# find -name '*Rar*' -print0 | xargs -0 rm -rvf
# Remove Rar mentions in CPP/7zip/Bundles/Format7zFree/makefile
patch -Np1 -i ../p7zip-libre.patch
@@ -51,12 +51,16 @@ mksource() {
build() {
cd "${srcdir}/${_pkgname}_${pkgver}"
- case $CARCH in
- x86_64) cp makefile.linux_amd64_asm makefile.machine ;;
- i686) cp makefile.linux_x86_asm_gcc_4.X makefile.machine ;;
- esac
+ case $CARCH in
+ x86_64) cp makefile.linux_amd64_asm makefile.machine ;;
+ i686) cp makefile.linux_x86_asm_gcc_4.X makefile.machine ;;
+ esac
- make all4 OPTFLAGS="${CXXFLAGS}"
+ if [ "$CARCH" = "mips64el" ]; then
+ make all3 OPTFLAGS="${CXXFLAGS}"
+ else
+ make all4 OPTFLAGS="${CXXFLAGS}"
+ fi
}
package() {