summaryrefslogtreecommitdiff
path: root/nonsystemd/p11-kit/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-10-30 13:48:59 -0300
committerDavid P <megver83@parabola.nu>2019-10-30 13:48:59 -0300
commit4dbb8792fffcb681aae520b3677470cc8b940afe (patch)
treee1611173765cb93d6152f9e4a907debb261d4630 /nonsystemd/p11-kit/PKGBUILD
parentd2e8cfd2208c8a06a7dbeb3e6c50ae21df6dda85 (diff)
downloadabslibre-4dbb8792fffcb681aae520b3677470cc8b940afe.tar.gz
abslibre-4dbb8792fffcb681aae520b3677470cc8b940afe.tar.bz2
abslibre-4dbb8792fffcb681aae520b3677470cc8b940afe.zip
updpkg: nonsystemd/p11-kit 0.23.18.1-1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/p11-kit/PKGBUILD')
-rw-r--r--nonsystemd/p11-kit/PKGBUILD33
1 files changed, 12 insertions, 21 deletions
diff --git a/nonsystemd/p11-kit/PKGBUILD b/nonsystemd/p11-kit/PKGBUILD
index a0ceb202f..cb2dcfe37 100644
--- a/nonsystemd/p11-kit/PKGBUILD
+++ b/nonsystemd/p11-kit/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor (Arch): Ionut Biru <ibiru@archlinux.org>
pkgname=p11-kit
-pkgver=0.23.16.1
+pkgver=0.23.18.1
pkgrel=1
pkgrel+=.nonsystemd1
pkgdesc="Provides a way to load and enumerate PKCS#11 modules"
@@ -11,11 +11,11 @@ arch=(x86_64 i686 armv7h)
url="https://p11-glue.freedesktop.org"
license=(BSD)
depends=(glibc libtasn1 libffi)
-makedepends=(gtk-doc git)
+makedepends=(gtk-doc git meson)
source=("git+https://github.com/p11-glue/p11-kit?signed#tag=$pkgver"
0001-Build-and-install-libnssckbi-p11-kit.so.patch)
sha256sums=('SKIP'
- 'a2222e092b2c9ae2d2c344b3268f8f86e7b424973433d49653f72e6c51fa54cf')
+ 'e832eece10587ac50ae42ca4515786b51e67fea0647716061e51cd94f5e058cd')
validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF' # Stef Walter
'462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
@@ -27,33 +27,24 @@ prepare() {
# libnssckbi.so ("Builtin Object Token" instead of "Default Trust")
# https://bugs.freedesktop.org/show_bug.cgi?id=66161
patch -Np1 -i ../0001-Build-and-install-libnssckbi-p11-kit.so.patch
-
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd p11-kit
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib \
- --enable-doc \
- --with-module-path=/usr/lib/pkcs11 \
- --with-trust-paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source \
- --without-systemd
- make
+ arch-meson p11-kit build \
+ -D gtk_doc=true \
+ -D man=true \
+ -D trust_paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source \
+ -D systemd=disabled
+ ninja -C build
}
check() {
- cd p11-kit
- make check
+ meson test -C build --print-errorlogs
}
package() {
- cd p11-kit
- make DESTDIR="$pkgdir" install
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
-
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit/COPYING
ln -srf "$pkgdir/usr/bin/update-ca-trust" "$pkgdir/usr/lib/p11-kit/trust-extract-compat"
}