Date: Thursday, June 9, 2022 @ 09:28:23 Author: dvzrv Revision: 447807
Replace tabs with spaces. Modified: gnupg/trunk/PKGBUILD ----------+ PKGBUILD | 88 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 42 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-06-09 09:28:13 UTC (rev 447806) +++ PKGBUILD 2022-06-09 09:28:23 UTC (rev 447807) @@ -17,22 +17,26 @@ depends=('npth' 'libgpg-error' 'libgcrypt' 'libksba' 'libassuan' 'pinentry' 'bzip2' 'libbz2.so' 'readline' 'libreadline.so' 'gnutls' 'sqlite' 'zlib' 'glibc') -optdepends=('libldap: gpg2keys_ldap' - 'libusb-compat: scdaemon' - 'pcsclite: scdaemon') +optdepends=( + 'libldap: gpg2keys_ldap' + 'libusb-compat: scdaemon' + 'pcsclite: scdaemon' +) options=('debug') validpgpkeys=( - 'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch (dist sig) - '031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gni...@fsij.org> - '5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key) - '6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020) - 'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD' # Niibe Yutaka (GnuPG Release Key) + 'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch (dist sig) + '031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gni...@fsij.org> + '5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key) + '6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020) + 'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD' # Niibe Yutaka (GnuPG Release Key) ) -source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig} - 'gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=e8fb8e2b3e66d5ea8a3dc90afdc14611abf2c3da' - 'gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=3192939a10df17cb9666773ed8888627f6d16b8d' - 'drop-import-clean.patch' - 'avoid-beta-warning.patch') +source=( + "https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig} + 'gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=e8fb8e2b3e66d5ea8a3dc90afdc14611abf2c3da' + 'gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=3192939a10df17cb9666773ed8888627f6d16b8d' + 'drop-import-clean.patch' + 'avoid-beta-warning.patch' +) sha256sums=('340bc255938971e6e729b3d9956fa2ef4db8215d77693bf300df2bb302498690' 'SKIP' '1b7611a24e813429e56a7d0855c59d33109cb1b59b3586a3dd35935909a493e5' @@ -43,48 +47,48 @@ install=install prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../avoid-beta-warning.patch - patch -p1 -i ../drop-import-clean.patch + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../avoid-beta-warning.patch + patch -p1 -i ../drop-import-clean.patch - # https://bugs.archlinux.org/task/74423 - # https://dev.gnupg.org/T5935 - patch -p1 -i ../gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch - # fix issues with signatures in an automated environment (e.g. archlinux-keyring): - # https://dev.gnupg.org/T5953 - patch -Np1 -i ../gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch + # https://bugs.archlinux.org/task/74423 + # https://dev.gnupg.org/T5935 + patch -p1 -i ../gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch + # fix issues with signatures in an automated environment (e.g. archlinux-keyring): + # https://dev.gnupg.org/T5953 + patch -Np1 -i ../gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch - # improve reproducibility - rm doc/gnupg.info* + # improve reproducibility + rm doc/gnupg.info* - ./autogen.sh + ./autogen.sh } build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --libexecdir=/usr/lib/gnupg \ - --enable-maintainer-mode \ + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib/gnupg \ + --enable-maintainer-mode \ - make + make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check + cd "${srcdir}/${pkgname}-${pkgver}" + make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - ln -s gpg "${pkgdir}"/usr/bin/gpg2 - ln -s gpgv "${pkgdir}"/usr/bin/gpgv2 + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + ln -s gpg "${pkgdir}"/usr/bin/gpg2 + ln -s gpgv "${pkgdir}"/usr/bin/gpgv2 - install -Dm 644 doc/examples/systemd-user/*.* -t "${pkgdir}/usr/lib/systemd/user" - install -Dm 644 COPYING.{CC0,other} -t "${pkgdir}/usr/share/licenses/$pkgname/" + install -Dm 644 doc/examples/systemd-user/*.* -t "${pkgdir}/usr/lib/systemd/user" + install -Dm 644 COPYING.{CC0,other} -t "${pkgdir}/usr/share/licenses/$pkgname/" } -# vim: ts=2 sw=2 noet: +# vim: ts=2 sw=2 et: