[arch-commits] Commit in p11-kit/repos (3 files)

Jan Steffens heftig at archlinux.org
Fri Jan 24 21:57:33 UTC 2020


    Date: Friday, January 24, 2020 @ 21:57:33
  Author: heftig
Revision: 373889

archrelease: copy trunk to testing-x86_64

Added:
  p11-kit/repos/testing-x86_64/
  p11-kit/repos/testing-x86_64/PKGBUILD
    (from rev 373888, p11-kit/trunk/PKGBUILD)
  p11-kit/repos/testing-x86_64/p11-kit.install
    (from rev 373888, p11-kit/trunk/p11-kit.install)

-----------------+
 PKGBUILD        |   45 +++++++++++++++++++++++++++++++++++++++++++++
 p11-kit.install |   14 ++++++++++++++
 2 files changed, 59 insertions(+)

Copied: p11-kit/repos/testing-x86_64/PKGBUILD (from rev 373888, p11-kit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-01-24 21:57:33 UTC (rev 373889)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=p11-kit
+pkgver=0.23.19
+pkgrel=2
+pkgdesc="Provides a way to load and enumerate PKCS#11 modules"
+arch=(x86_64)
+url="https://p11-glue.freedesktop.org"
+license=(BSD)
+depends=(glibc libtasn1 libffi systemd)
+makedepends=(gtk-doc git meson)
+provides=(libp11-kit.so)
+install=p11-kit.install
+source=("git+https://github.com/p11-glue/p11-kit?signed#tag=$pkgver")
+sha256sums=('SKIP')
+validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF'  # Stef Walter
+              '462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
+
+prepare() {
+  cd p11-kit
+}
+
+build() {
+  arch-meson p11-kit build \
+    --buildtype debugoptimized \
+    -D gtk_doc=true \
+    -D man=true \
+    -D trust_paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libsystemd.so)
+
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit/COPYING
+  ln -sr "$pkgdir/usr/bin/update-ca-trust" "$pkgdir/usr/lib/p11-kit/trust-extract-compat"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: p11-kit/repos/testing-x86_64/p11-kit.install (from rev 373888, p11-kit/trunk/p11-kit.install)
===================================================================
--- testing-x86_64/p11-kit.install	                        (rev 0)
+++ testing-x86_64/p11-kit.install	2020-01-24 21:57:33 UTC (rev 373889)
@@ -0,0 +1,14 @@
+post_install() {
+  # Enable socket by default
+  systemctl --global enable p11-kit-server.socket
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 0.23.13-1) < 0)); then
+    systemctl --global enable p11-kit-server.socket
+  fi
+}
+
+pre_remove() {
+  systemctl --global disable p11-kit-server.socket
+}



More information about the arch-commits mailing list