p11-kit 0.25.5-1

This commit is contained in:
xhaa123 2024-11-04 17:55:03 +08:00
parent 6874d65341
commit c54dc75656

View File

@ -6,7 +6,7 @@
# Maintainer: Future Linux Team <future_linux@163.com> # Maintainer: Future Linux Team <future_linux@163.com>
pkgname=(p11-kit libp11-kit) pkgname=(p11-kit libp11-kit)
pkgbase=p11-kit pkgbase=p11-kit
pkgver=0.25.3 pkgver=0.25.5
pkgrel=1 pkgrel=1
pkgdesc="Loads and enumerates PKCS#11 modules" pkgdesc="Loads and enumerates PKCS#11 modules"
arch=('x86_64') arch=('x86_64')
@ -15,7 +15,7 @@ license=('BSD')
depends=('glibc' 'libffi' 'libtasn1' 'systemd') depends=('glibc' 'libffi' 'libtasn1' 'systemd')
makedepends=('meson' 'bash-completion' 'make-ca') makedepends=('meson' 'bash-completion' 'make-ca')
source=(https://github.com/p11-glue/p11-kit/releases/download/${pkgver}/${pkgbase}-${pkgver}.tar.xz) source=(https://github.com/p11-glue/p11-kit/releases/download/${pkgver}/${pkgbase}-${pkgver}.tar.xz)
sha256sums=(d8ddce1bb7e898986f9d250ccae7c09ce14d82f1009046d202a0eb1b428b2adc) sha256sums=(04d0a86450cdb1be018f26af6699857171a188ac6d5b8c90786a60854e1198e5)
prepare() { prepare() {
cd ${pkgbase}-${pkgver} cd ${pkgbase}-${pkgver}
@ -45,7 +45,7 @@ build() {
} }
package_p11-kit() { package_p11-kit() {
depends=("libp11-kit=${pkgver}-${pkgrel}" 'coreutils' 'systemd' 'make-ca') depends=("libp11-kit=${pkgver}-${pkgrel}" 'coreutils' 'systemd' 'make-ca' 'libtasn1')
cd ${pkgbase}-${pkgver} cd ${pkgbase}-${pkgver}
@ -57,11 +57,11 @@ package_p11-kit() {
_pick lib ${pkgdir}/usr/lib64/{p11-kit-proxy.so,libp11-kit.*} _pick lib ${pkgdir}/usr/lib64/{p11-kit-proxy.so,libp11-kit.*}
_pick lib ${pkgdir}/usr/lib64/{pkcs11,pkgconfig} _pick lib ${pkgdir}/usr/lib64/{pkcs11,pkgconfig}
_pick lib ${pkgdir}/usr/share/p11-kit _pick lib ${pkgdir}/usr/share/p11-kit
} }
package_libp11-kit() { package_libp11-kit() {
pkgdesc+=" (library)" pkgdesc+=" (library)"
depends=('glibc' 'libffi' 'libtasn1')
mv lib/* ${pkgdir} mv lib/* ${pkgdir}
} }