[arch-commits] Commit in lib32-libgcrypt/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Jan 29 12:47:20 UTC 2021
Date: Friday, January 29, 2021 @ 12:47:19
Author: eworm
Revision: 834629
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libgcrypt/repos/multilib-x86_64/PKGBUILD
(from rev 834628, lib32-libgcrypt/trunk/PKGBUILD)
Deleted:
lib32-libgcrypt/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 45 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-29 12:47:15 UTC (rev 834628)
+++ PKGBUILD 2021-01-29 12:47:19 UTC (rev 834629)
@@ -1,38 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-_pkgbasename=libgcrypt
-pkgname=lib32-$_pkgbasename
-pkgver=1.8.7
-pkgrel=1
-pkgdesc="General purpose cryptographic library based on the code from GnuPG (32-bit)"
-arch=(x86_64)
-url="https://www.gnupg.org"
-license=('LGPL')
-depends=('lib32-libgpg-error' $_pkgbasename)
-makedepends=(gcc-multilib libtool-multilib)
-source=(https://gnupg.org/ftp/gcrypt/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2{,.sig})
-sha1sums=('ea79a279b27bf25cb1564f96693128f8fc9f41d6'
- 'SKIP')
-validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # "Werner Koch (dist signing 2020)"
-
-build() {
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- cd ${_pkgbasename}-${pkgver}
-
- # Use 32-bit assembler
- sed 's:path="amd64":path="i586 i386":' -i mpi/config.links
-
- ./configure --prefix=/usr --disable-static --disable-padlock-support \
- --libdir=/usr/lib32 --enable-shared
- make
-}
-
-package() {
- cd ${_pkgbasename}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
-}
Copied: lib32-libgcrypt/repos/multilib-x86_64/PKGBUILD (from rev 834628, lib32-libgcrypt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-29 12:47:19 UTC (rev 834629)
@@ -0,0 +1,45 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+_pkgbasename=libgcrypt
+pkgname=lib32-$_pkgbasename
+pkgver=1.9.1
+pkgrel=1
+pkgdesc="General purpose cryptographic library based on the code from GnuPG (32-bit)"
+arch=(x86_64)
+url="https://www.gnupg.org"
+license=('LGPL')
+depends=('lib32-libgpg-error' $_pkgbasename)
+makedepends=(gcc-multilib libtool-multilib)
+source=(https://gnupg.org/ftp/gcrypt/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2{,.sig})
+sha1sums=('a15ce7355b028f28a33428eaa0147154861b29d4'
+ 'SKIP')
+validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # "Werner Koch (dist signing 2020)"
+
+prepare() {
+ cd ${_pkgbasename}-${pkgver}
+
+ # Use 32-bit assembler
+ sed 's:i586\*-\*-\*:x86_64-*-*:' -i mpi/config.links
+ sed 's:x86_64-\*-\*:ignore:;s:i?86-\*-\*:x86_64-*-*:' -i configure.ac
+
+ autoreconf -fi
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd ${_pkgbasename}-${pkgver}
+
+ ./configure --prefix=/usr --disable-static --disable-padlock-support \
+ --libdir=/usr/lib32 --enable-shared
+ make
+}
+
+package() {
+ cd ${_pkgbasename}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
+}
More information about the arch-commits
mailing list