[arch-commits] Commit in lib32-libgcrypt15/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Wed Jan 19 10:32:48 UTC 2022
Date: Wednesday, January 19, 2022 @ 10:32:48
Author: alucryd
Revision: 1110463
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libgcrypt15/repos/multilib-x86_64/PKGBUILD
(from rev 1110462, lib32-libgcrypt15/trunk/PKGBUILD)
Deleted:
lib32-libgcrypt15/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-19 10:32:42 UTC (rev 1110462)
+++ PKGBUILD 2022-01-19 10:32:48 UTC (rev 1110463)
@@ -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=lib32-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=('lib32-glibc' 'lib32-libgpg-error')
-replaces=('lib32-libgcrypt11')
-source=("https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${pkgver}.tar.bz2"{,.sig})
-sha256sums=('301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79'
- 'SKIP')
-validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
-
-prepare() {
- cd libgcrypt-${pkgver}
-
- sed 's/path="amd64"/path="i586 i386"/' -i mpi/config.links
-}
-
-build() {
- cd libgcrypt-${pkgver}
-
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32' \
- --disable-static \
- --disable-padlock-support
- make
-}
-
-package() {
- cd libgcrypt-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{bin,include,lib32/libgcrypt.so,share}
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-libgcrypt15/repos/multilib-x86_64/PKGBUILD (from rev 1110462, lib32-libgcrypt15/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-19 10:32:48 UTC (rev 1110463)
@@ -0,0 +1,53 @@
+# 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=lib32-libgcrypt15
+pkgver=1.5.6
+pkgrel=6
+pkgdesc='General purpose cryptographic library based on the code from GnuPG'
+arch=(x86_64)
+url=https://gnupg.org/
+license=(LGPL)
+depends=(
+ lib32-glibc
+ lib32-libgpg-error
+)
+makedepends=(git)
+replaces=(lib32-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
+ # fix arch
+ sed 's/path="amd64"/path="i586 i386"/' -i mpi/config.links
+ autoreconf -fiv
+}
+
+build() {
+ cd libgcrypt
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --disable-static \
+ --disable-padlock-support
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" install -C libgcrypt
+ rm -rf "${pkgdir}"/usr/{bin,include,lib32/libgcrypt.so,share}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list