[arch-commits] Commit in libgcrypt15/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Wed Jan 19 10:27:52 UTC 2022


    Date: Wednesday, January 19, 2022 @ 10:27:52
  Author: alucryd
Revision: 1110461

archrelease: copy trunk to community-x86_64

Added:
  libgcrypt15/repos/community-x86_64/PKGBUILD
    (from rev 1110460, libgcrypt15/trunk/PKGBUILD)
Deleted:
  libgcrypt15/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-19 10:27:46 UTC (rev 1110460)
+++ PKGBUILD	2022-01-19 10:27:52 UTC (rev 1110461)
@@ -1,48 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Llewelyn Trahaearn <woefulderelict at gmail.com>
-# Contributor: TheWaffleGuy <gvxq at hotmail.com>
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=libgcrypt15
-pkgver=1.5.6
-pkgrel=4
-pkgdesc='General purpose cryptographic library based on the code from GnuPG'
-arch=('x86_64')
-url='http://www.gnupg.org'
-license=('LGPL')
-depends=('glibc' 'libgpg-error')
-replaces=('libgcrypt11')
-source=("https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${pkgver}.tar.bz2"{,.sig}
-        'libgcrypt15-disable-build-timestamp.patch::https://github.com/gpg/libgcrypt/commit/a785cc3db0c4e8eb8ebbf784b833a40d2c42ec3e.patch')
-sha256sums=('301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79'
-            'SKIP'
-            'cbf85bb7e62f3d5b9fcf07fb63a6c7c51d1a01cff7af049f36fd06e4e0b8b3cd')
-validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
-
-prepare() {
-  cd libgcrypt-${pkgver}
-
-  # Remove unreproducible build timestamp
-  patch -Np1 -i ../libgcrypt15-disable-build-timestamp.patch
-
-  autoreconf -if
-}
-
-build() {
-  cd libgcrypt-${pkgver}
-
-  ./configure \
-    --prefix='/usr' \
-    --disable-static \
-    --disable-padlock-support
-  make
-}
-
-package() {
-  cd libgcrypt-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/usr/{bin,include,lib/libgcrypt.so,share}
-}
-
-# vim: ts=2 sw=2 et:

Copied: libgcrypt15/repos/community-x86_64/PKGBUILD (from rev 1110460, libgcrypt15/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-19 10:27:52 UTC (rev 1110461)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Llewelyn Trahaearn <woefulderelict at gmail.com>
+# Contributor: TheWaffleGuy <gvxq at hotmail.com>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libgcrypt15
+pkgver=1.5.6
+pkgrel=5
+pkgdesc='General purpose cryptographic library based on the code from GnuPG'
+arch=(x86_64)
+url=http://www.gnupg.org
+license=(LGPL)
+depends=(
+  glibc
+  libgpg-error
+)
+makedepends=(git)
+replaces=(libgcrypt11)
+_tag=6e481d6bf0a69f8c9bd2866eb491e1e4e9b0717f
+source=(git+https://github.com/gpg/libgcrypt.git#tag=${_tag})
+b2sums=(SKIP)
+
+prepare() {
+  cd libgcrypt
+  # Remove unreproducible build timestamp
+  git cherry-pick -n a785cc3db0c4e8eb8ebbf784b833a40d2c42ec3e
+  # disable doc
+  sed '/doc\/Makefile/d' -i configure.ac
+  sed 's/src doc tests/src tests/g' -i Makefile.am
+  autoreconf -fiv
+}
+
+build() {
+  cd libgcrypt
+  ./configure \
+    --prefix=/usr \
+    --disable-static \
+    --disable-padlock-support
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" install -C libgcrypt
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/libgcrypt.so,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list