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

Evangelos Foutras foutrelis at archlinux.org
Tue Jan 19 14:11:46 UTC 2021


    Date: Tuesday, January 19, 2021 @ 14:11:46
  Author: foutrelis
Revision: 406414

archrelease: copy trunk to extra-x86_64

Added:
  p7zip/repos/extra-x86_64/PKGBUILD
    (from rev 406413, p7zip/trunk/PKGBUILD)
Deleted:
  p7zip/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 56 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-19 14:11:41 UTC (rev 406413)
+++ PKGBUILD	2021-01-19 14:11:46 UTC (rev 406414)
@@ -1,45 +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>  2007/11/17 21:22:36 UTC
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=p7zip
-pkgver=17.03
-pkgrel=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-$pkgver.tar.gz)
-sha256sums=('bb4b9b21584c0e076e0b4b2705af0dbe7ac19d378aa7f09a79da33a5b3293187')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make OPTFLAGS="$CPPFLAGS $CFLAGS" 7z 7zr 7za
-}
-
-package() {
-  cd "$srcdir/$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 406413, p7zip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-19 14:11:46 UTC (rev 406414)
@@ -0,0 +1,56 @@
+# 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=17.03
+pkgrel=2
+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-$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=('bb4b9b21584c0e076e0b4b2705af0dbe7ac19d378aa7f09a79da33a5b3293187'
+            'e32636aa03b9c75a2b9d9138e03a738ceed6ca5da4c3c67e7f5981e135fb9e24'
+            'fa658d42cc1da2b567a210a819502bd8e3bb1e02d5d23e087e2278c4aaffe15e'
+            'a1b21ceb5582633d85d41ec9e4995f758cba1731dd80fb6f45a7bc6b18bfe394')
+
+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:



More information about the arch-commits mailing list