[arch-commits] Commit in p7zip/repos (3 files)

Hugo Doria hugo at archlinux.org
Sun Jul 20 16:23:11 EDT 2008


    Date: Sunday, July 20, 2008 @ 16:23:11
  Author: hugo
Revision: 5773

Merged revisions 3564-5772 via svnmerge from 
svn+ssh://hugo@archlinux.org/home/svn-packages/p7zip/trunk

........
  r3593 | eric | 2008-06-25 18:50:30 -0300 (Wed, 25 Jun 2008) | 2 lines
  
  upgpkg: p7zip 4.58-1
      FSH man pages
........
  r5772 | hugo | 2008-07-20 17:22:38 -0300 (Sun, 20 Jul 2008) | 2 lines
  
  upgpkg: p7zip 4.58-2
      updated to fix FS#10965
........

Modified:
  p7zip/repos/extra-i686/	(properties)
  p7zip/repos/extra-i686/PKGBUILD
  p7zip/repos/extra-i686/p7zip.install

---------------+
 PKGBUILD      |   25 +++++++++++++------------
 p7zip.install |    2 +-
 2 files changed, 14 insertions(+), 13 deletions(-)


Property changes on: p7zip/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /p7zip/trunk:1-3563
   + /p7zip/trunk:1-5772

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-07-20 20:22:38 UTC (rev 5772)
+++ extra-i686/PKGBUILD	2008-07-20 20:23:11 UTC (rev 5773)
@@ -1,21 +1,22 @@
 # $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Hugo Doria <hugo at archlinux.org>
 # Contributor: TuxSpirit<tuxspirit at archlinux.fr>  2007/11/17 21:22:36 UTC
 
 pkgname=p7zip
 pkgver=4.58
-pkgrel=1
+pkgrel=2
 pkgdesc="A command-line port of the 7zip compression utility"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL')
 url="http://p7zip.sourceforge.net"
 depends=(gcc-libs bash)
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2)
+md5sums=('315b184102c17c4956f53218d973222d')
 install=p7zip.install
 options=(!emptydirs)
 
 build() {
-  cd $startdir/src/${pkgname}_${pkgver}
+  cd ${srcdir}/${pkgname}_${pkgver}
 
   #Arch64 fix
   if [ "$CARCH" == "x86_64" ]; then
@@ -27,16 +28,16 @@
   sed -i "s|usr/local|usr|g" makefile
   sed -i "s|-O1|$CXXFLAGS|g" makefile.machine
   make all3 || return 1
-  sed -i "s|DEST_HOME=|DEST_HOME=$startdir/pkg/usr # |g" install.sh
-  ./install.sh
-  install -m555 bin/7z.so $startdir/pkg/usr/lib/p7zip/
+  sed -i "s|DEST_HOME=|DEST_HOME=${pkgdir}/usr # |g" install.sh
+  sed -i 's|${DEST_HOME}/man|${DEST_HOME}/share/man|' install.sh
+  ./install.sh 
+  install -m555 bin/7z.so ${pkgdir}/usr/lib/p7zip/
 
-  sed -i "s|$startdir/pkg/usr|/usr|g" $startdir/pkg/usr/bin/7z
-  sed -i "s|$startdir/pkg/usr|/usr|g" $startdir/pkg/usr/bin/7za
-  sed -i "s|$startdir/pkg/usr|/usr|g" $startdir/pkg/usr/bin/7zr
+  sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7z
+  sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7za
+  sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7zr
 
   # Install mc's virtual filesystem
   install -m644 -D contrib/VirtualFileSystemForMidnightCommander/u7z \
-    $startdir/pkg/usr/share/mc/extfs/u7z
+    ${pkgdir}/usr/share/mc/extfs/u7z
 }
-md5sums=('315b184102c17c4956f53218d973222d')

Modified: extra-i686/p7zip.install
===================================================================
--- extra-i686/p7zip.install	2008-07-20 20:22:38 UTC (rev 5772)
+++ extra-i686/p7zip.install	2008-07-20 20:23:11 UTC (rev 5773)
@@ -6,7 +6,7 @@
 post_upgrade () {
     echo ":: In order to use p7zip with mc:"
     echo ":: Add u7z to /usr/share/mc/extfs/extfs.ini"
-    echo ":: and add the following to /usr/share/mv/mc.ext:"
+    echo ":: and add the following to /usr/share/mc/mc.ext:"
     echo "::"
     echo ":: regex/\.(7z|7Z)$"
     echo ":: 	View=%view{ascii} 7za l %f"





More information about the arch-commits mailing list