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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Sep 8 03:12:24 UTC 2021


    Date: Wednesday, September 8, 2021 @ 03:12:24
  Author: foutrelis
Revision: 423533

archrelease: copy trunk to extra-x86_64

Added:
  p7zip/repos/extra-x86_64/PKGBUILD
    (from rev 423532, p7zip/trunk/PKGBUILD)
  p7zip/repos/extra-x86_64/do-not-gzip-man-pages.patch
    (from rev 423532, p7zip/trunk/do-not-gzip-man-pages.patch)
Deleted:
  p7zip/repos/extra-x86_64/PKGBUILD

-----------------------------+
 PKGBUILD                    |  119 +++++++++++++++++++++---------------------
 do-not-gzip-man-pages.patch |   14 ++++
 2 files changed, 76 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-08 03:12:14 UTC (rev 423532)
+++ PKGBUILD	2021-09-08 03:12:24 UTC (rev 423533)
@@ -1,57 +0,0 @@
-# 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>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=p7zip
-pkgver=17.04
-pkgrel=2
-epoch=1
-pkgdesc="Command-line file archiver with high compression ratio"
-arch=('x86_64')
-url="https://github.com/jinfeihan57/p7zip"
-license=('LGPL' 'custom:unRAR')
-depends=('gcc-libs' 'sh')
-source=(https://github.com/jinfeihan57/p7zip/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
-        oemcp-iconv.patch::https://github.com/jinfeihan57/p7zip/commit/c104127e6a93.patch
-        oemcp-cygwin.patch::https://github.com/jinfeihan57/p7zip/commit/0e0a1a8316b6.patch
-        oemcp-apple.patch::https://github.com/jinfeihan57/p7zip/commit/334a01e3f8bc.patch)
-sha256sums=('ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef'
-            '50f2068124c1c6adc2d9ccf455e9816eccd39d31920b953ab8fcb853232d452c'
-            '789789216ca46e5ea9b6780e353f964a1f46e9a2bcaa6b16413adcf9a89eb374'
-            'dfe1a625f80078c3ec68038f0aae8ba3a82ea96d0aeb97cb3586dc7fb3ef9650')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # https://github.com/jinfeihan57/p7zip/issues/112
-  patch -Rp1 -i ../oemcp-apple.patch
-  patch -Rp1 -i ../oemcp-cygwin.patch
-  patch -Rp1 -i ../oemcp-iconv.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  make OPTFLAGS="$CPPFLAGS $CFLAGS" 7z 7zr 7za
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make install \
-    DEST_DIR="$pkgdir" \
-    DEST_HOME=/usr \
-    DEST_MAN=/usr/share/man
-
-  # Remove documentation for the GUI file manager
-  rm -r "$pkgdir/usr/share/doc/p7zip/DOC/MANUAL/fm"
-
-  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
-}
-
-# vim:set ts=2 sw=2 et:

Copied: p7zip/repos/extra-x86_64/PKGBUILD (from rev 423532, p7zip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-08 03:12:24 UTC (rev 423533)
@@ -0,0 +1,62 @@
+# 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>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=p7zip
+pkgver=17.04
+pkgrel=3
+epoch=1
+pkgdesc="Command-line file archiver with high compression ratio"
+arch=('x86_64')
+url="https://github.com/jinfeihan57/p7zip"
+license=('LGPL' 'custom:unRAR')
+depends=('gcc-libs' 'sh')
+source=(https://github.com/jinfeihan57/p7zip/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
+        oemcp-iconv.patch::https://github.com/jinfeihan57/p7zip/commit/c104127e6a93.patch
+        oemcp-cygwin.patch::https://github.com/jinfeihan57/p7zip/commit/0e0a1a8316b6.patch
+        oemcp-apple.patch::https://github.com/jinfeihan57/p7zip/commit/334a01e3f8bc.patch
+        do-not-gzip-man-pages.patch)
+sha256sums=('ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef'
+            '50f2068124c1c6adc2d9ccf455e9816eccd39d31920b953ab8fcb853232d452c'
+            '789789216ca46e5ea9b6780e353f964a1f46e9a2bcaa6b16413adcf9a89eb374'
+            'dfe1a625f80078c3ec68038f0aae8ba3a82ea96d0aeb97cb3586dc7fb3ef9650'
+            '2179e67764eb46cb414ce9b5c978a532a6499617a6a685deb323b6da122aba00')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Leave man page compression to makepkg to maintain reproducibility
+  patch -Np1 -i ../do-not-gzip-man-pages.patch
+
+  # https://github.com/jinfeihan57/p7zip/issues/112
+  patch -Rp1 -i ../oemcp-apple.patch
+  patch -Rp1 -i ../oemcp-cygwin.patch
+  patch -Rp1 -i ../oemcp-iconv.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make OPTFLAGS="$CPPFLAGS $CFLAGS" 7z 7zr 7za
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make install \
+    DEST_DIR="$pkgdir" \
+    DEST_HOME=/usr \
+    DEST_MAN=/usr/share/man
+
+  # Remove documentation for the GUI file manager
+  rm -r "$pkgdir/usr/share/doc/p7zip/DOC/MANUAL/fm"
+
+  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
+}
+
+# vim:set ts=2 sw=2 et:

Copied: p7zip/repos/extra-x86_64/do-not-gzip-man-pages.patch (from rev 423532, p7zip/trunk/do-not-gzip-man-pages.patch)
===================================================================
--- do-not-gzip-man-pages.patch	                        (rev 0)
+++ do-not-gzip-man-pages.patch	2021-09-08 03:12:24 UTC (rev 423533)
@@ -0,0 +1,14 @@
+diff -upr p7zip-17.04.orig/install.sh p7zip-17.04/install.sh
+--- p7zip-17.04.orig/install.sh	2021-04-04 06:11:06.000000000 +0300
++++ p7zip-17.04/install.sh	2021-09-08 06:08:22.977304060 +0300
+@@ -159,10 +159,6 @@ else
+    chmod 644 "${DEST_DIR}${DEST_MAN}/man1/7zr.1"
+ fi
+ 
+-gzip "${DEST_DIR}${DEST_MAN}/man1/7z.1"
+-gzip "${DEST_DIR}${DEST_MAN}/man1/7za.1"
+-gzip "${DEST_DIR}${DEST_MAN}/man1/7zr.1"
+-
+ if [ -f README ]
+ then
+   echo "- installing ${DEST_DIR}${DEST_SHARE_DOC}/README"



More information about the arch-commits mailing list