[arch-commits] Commit in p7zip/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Sun May 15 13:26:06 UTC 2011
Date: Sunday, May 15, 2011 @ 09:26:05
Author: bisson
Revision: 123984
suggestions from FS#24284
Modified:
p7zip/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-15 11:10:43 UTC (rev 123983)
+++ PKGBUILD 2011-05-15 13:26:05 UTC (rev 123984)
@@ -7,7 +7,7 @@
pkgname=p7zip
pkgver=9.20.1
-pkgrel=1
+pkgrel=2
pkgdesc='Command-line version of the 7zip compressed file archiver'
arch=('i686' 'x86_64')
license=('GPL')
@@ -22,7 +22,6 @@
[[ $CARCH = x86_64 ]] \
&& cp makefile.linux_amd64_asm makefile.machine \
|| cp makefile.linux_x86_asm_gcc_4.X makefile.machine
- sed -i "s|usr/local|usr|g" makefile
make all3 OPTFLAGS="${CXXFLAGS}"
}
@@ -31,10 +30,10 @@
cd "${srcdir}/${pkgname}_${pkgver}"
make install \
- DEST_HOME="${pkgdir}/usr" \
- DEST_MAN="${pkgdir}/usr/share/man" \
- DEST_SHARE_DOC="http://www.bugaco.com/7zip"
+ DEST_DIR="${pkgdir}" \
+ DEST_HOME="/usr" \
+ DEST_MAN="/usr/share/man"
- sed "s|${pkgdir}/usr|/usr|g" -i "${pkgdir}"/usr/bin/7z{,a,r}
+ chmod -R u+w "${pkgdir}"/usr/share/doc/
install -Dm755 contrib/VirtualFileSystemForMidnightCommander/u7z "${pkgdir}"/usr/lib/mc/extfs.d/u7z
}
More information about the arch-commits
mailing list