[arch-commits] Commit in libgcrypt15/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:39:04 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:39:03
  Author: foutrelis
Revision: 1142445

archrelease: copy trunk to community-staging-x86_64

Added:
  libgcrypt15/repos/community-staging-x86_64/
  libgcrypt15/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142443, libgcrypt15/trunk/PKGBUILD)

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

Copied: libgcrypt15/repos/community-staging-x86_64/PKGBUILD (from rev 1142443, libgcrypt15/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:39:03 UTC (rev 1142445)
@@ -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=6
+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