Bump version and sync PKGBUILD with upstream
This commit is contained in:
parent
d576349174
commit
7778448498
6
PKGBUILD
6
PKGBUILD
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
_pkgname=gnupg
|
_pkgname=gnupg
|
||||||
pkgname=gnupg-scdaemon-shared-access
|
pkgname=gnupg-scdaemon-shared-access
|
||||||
pkgver=2.2.19
|
pkgver=2.2.20
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='This package adds shared-access option that uses PCSC_SHARE_SHARED for pcsc_connect in scdaemon when using pcsc backend for smartcard access'
|
pkgdesc='This package adds shared-access option that uses PCSC_SHARE_SHARED for pcsc_connect in scdaemon when using pcsc backend for smartcard access'
|
||||||
url='https://www.gnupg.org/'
|
url='https://www.gnupg.org/'
|
||||||
@ -26,7 +26,7 @@ validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'
|
|||||||
source=("https://gnupg.org/ftp/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2"{,.sig}
|
source=("https://gnupg.org/ftp/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2"{,.sig}
|
||||||
"self-sigs-only.patch"
|
"self-sigs-only.patch"
|
||||||
"scdaemon_shared-access.patch")
|
"scdaemon_shared-access.patch")
|
||||||
sha256sums=('242554c0e06f3a83c420b052f750b65ead711cc3fddddb5e7274fcdbb4e9dec0'
|
sha256sums=('04a7c9d48b74c399168ee8270e548588ddbe52218c337703d7f06373d326ca30'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'0130c43321c16f53ab2290833007212f8a26b1b73bd4edc2b2b1c9db2b2d0218'
|
'0130c43321c16f53ab2290833007212f8a26b1b73bd4edc2b2b1c9db2b2d0218'
|
||||||
'aa46b372830dd8ed355a86a1677c50c6be8178f847c09b7291f47a1dc3ea02dc')
|
'aa46b372830dd8ed355a86a1677c50c6be8178f847c09b7291f47a1dc3ea02dc')
|
||||||
@ -39,7 +39,7 @@ provides=('gnupg' 'dirmngr' "gnupg=${pkgver}" "gnupg2=${pkgver}")
|
|||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${_pkgname}-${pkgver}"
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
sed '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' -i tools/Makefile.in
|
sed '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' -i tools/Makefile.in
|
||||||
patch -R -p1 -i ../self-sigs-only.patch
|
patch -R -p1 -i ../self-sigs-only.patch
|
||||||
patch -p1 -t -N < "${srcdir}/scdaemon_shared-access.patch"
|
patch -p1 -t -N < "${srcdir}/scdaemon_shared-access.patch"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
install
10
install
@ -26,16 +26,6 @@ post_install() {
|
|||||||
_global_units enable
|
_global_units enable
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
if (( $(vercmp $2 2.1.13-1) < 0 )); then
|
|
||||||
echo "==> Please kill running gpg-agent and dirmngr processes before using this release."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if (( $(vercmp $2 2.1.21-3) < 0 )); then
|
|
||||||
_global_units enable
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pre_remove() {
|
pre_remove() {
|
||||||
_global_units disable
|
_global_units disable
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user