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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 15:21:10 UTC 2015


    Date: Saturday, December 5, 2015 @ 16:21:09
  Author: bpiotrowski
Revision: 252409

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  p7zip/repos/staging-i686/
  p7zip/repos/staging-i686/PKGBUILD
    (from rev 252408, p7zip/trunk/PKGBUILD)
  p7zip/repos/staging-i686/p7zip.install
    (from rev 252408, p7zip/trunk/p7zip.install)
  p7zip/repos/staging-x86_64/
  p7zip/repos/staging-x86_64/PKGBUILD
    (from rev 252408, p7zip/trunk/PKGBUILD)
  p7zip/repos/staging-x86_64/p7zip.install
    (from rev 252408, p7zip/trunk/p7zip.install)

------------------------------+
 staging-i686/PKGBUILD        |   54 +++++++++++++++++++++++++++++++++++++++++
 staging-i686/p7zip.install   |    9 ++++++
 staging-x86_64/PKGBUILD      |   54 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/p7zip.install |    9 ++++++
 4 files changed, 126 insertions(+)

Copied: p7zip/repos/staging-i686/PKGBUILD (from rev 252408, p7zip/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-05 15:21:09 UTC (rev 252409)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: TuxSpirit<tuxspirit at archlinux.fr>  2007/11/17 21:22:36 UTC
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=p7zip
+pkgver=9.38.1
+pkgrel=4
+pkgdesc="Command-line file archiver with high compression ratio"
+arch=('i686' 'x86_64')
+url="http://p7zip.sourceforge.net/"
+license=('LGPL' 'custom:unRAR')
+depends=('gcc-libs' 'sh')
+makedepends_i686=('nasm')
+makedepends_x86_64=('yasm')
+install=$pkgname.install
+source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/${pkgname}_${pkgver}_src_all.tar.bz2)
+sha256sums=('fd5019109c9a1bf34ad3257d37a6853eae8151ff50345f0a3ffba7d8c5fdb995')
+
+prepare() {
+  cd "$srcdir/${pkgname}_$pkgver"
+
+  if [[ $CARCH = x86_64 ]]; then
+    cp makefile.linux_amd64_asm makefile.machine
+  else
+    cp makefile.linux_x86_asm_gcc_4.X makefile.machine
+  fi
+}
+
+build() {
+  cd "$srcdir/${pkgname}_$pkgver"
+  make all3 OPTFLAGS="$CFLAGS"
+}
+
+package() {
+  cd "$srcdir/${pkgname}_$pkgver"
+
+  make install \
+    DEST_DIR="$pkgdir" \
+    DEST_HOME=/usr \
+    DEST_MAN=/usr/share/man
+
+  install -d "${pkgdir}"/usr/share/licenses/p7zip
+  ln -s -t "$pkgdir/usr/share/licenses/p7zip/" \
+    /usr/share/doc/p7zip/DOC/License.txt \
+    /usr/share/doc/p7zip/DOC/unRarLicense.txt
+
+  chmod -R a+r,u+w,a+X "$pkgdir/usr"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: p7zip/repos/staging-i686/p7zip.install (from rev 252408, p7zip/trunk/p7zip.install)
===================================================================
--- staging-i686/p7zip.install	                        (rev 0)
+++ staging-i686/p7zip.install	2015-12-05 15:21:09 UTC (rev 252409)
@@ -0,0 +1,9 @@
+post_upgrade() {
+  if (($(vercmp $2 9.38.1-3) < 0)); then
+    echo ':: The 7zFM graphical frontend is no longer included in this package.'
+    echo '   If you used it, consider installing one of the following packages:'
+    echo '   1) file-roller, 2) engrampa, 3) kdeutils-ark.'
+  fi
+}
+
+# vim:set ts=2 sw=2 et:

Copied: p7zip/repos/staging-x86_64/PKGBUILD (from rev 252408, p7zip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-05 15:21:09 UTC (rev 252409)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: TuxSpirit<tuxspirit at archlinux.fr>  2007/11/17 21:22:36 UTC
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=p7zip
+pkgver=9.38.1
+pkgrel=4
+pkgdesc="Command-line file archiver with high compression ratio"
+arch=('i686' 'x86_64')
+url="http://p7zip.sourceforge.net/"
+license=('LGPL' 'custom:unRAR')
+depends=('gcc-libs' 'sh')
+makedepends_i686=('nasm')
+makedepends_x86_64=('yasm')
+install=$pkgname.install
+source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/${pkgname}_${pkgver}_src_all.tar.bz2)
+sha256sums=('fd5019109c9a1bf34ad3257d37a6853eae8151ff50345f0a3ffba7d8c5fdb995')
+
+prepare() {
+  cd "$srcdir/${pkgname}_$pkgver"
+
+  if [[ $CARCH = x86_64 ]]; then
+    cp makefile.linux_amd64_asm makefile.machine
+  else
+    cp makefile.linux_x86_asm_gcc_4.X makefile.machine
+  fi
+}
+
+build() {
+  cd "$srcdir/${pkgname}_$pkgver"
+  make all3 OPTFLAGS="$CFLAGS"
+}
+
+package() {
+  cd "$srcdir/${pkgname}_$pkgver"
+
+  make install \
+    DEST_DIR="$pkgdir" \
+    DEST_HOME=/usr \
+    DEST_MAN=/usr/share/man
+
+  install -d "${pkgdir}"/usr/share/licenses/p7zip
+  ln -s -t "$pkgdir/usr/share/licenses/p7zip/" \
+    /usr/share/doc/p7zip/DOC/License.txt \
+    /usr/share/doc/p7zip/DOC/unRarLicense.txt
+
+  chmod -R a+r,u+w,a+X "$pkgdir/usr"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: p7zip/repos/staging-x86_64/p7zip.install (from rev 252408, p7zip/trunk/p7zip.install)
===================================================================
--- staging-x86_64/p7zip.install	                        (rev 0)
+++ staging-x86_64/p7zip.install	2015-12-05 15:21:09 UTC (rev 252409)
@@ -0,0 +1,9 @@
+post_upgrade() {
+  if (($(vercmp $2 9.38.1-3) < 0)); then
+    echo ':: The 7zFM graphical frontend is no longer included in this package.'
+    echo '   If you used it, consider installing one of the following packages:'
+    echo '   1) file-roller, 2) engrampa, 3) kdeutils-ark.'
+  fi
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list