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

Evangelos Foutras foutrelis at archlinux.org
Wed Apr 8 15:01:07 UTC 2020


    Date: Wednesday, April 8, 2020 @ 15:01:06
  Author: foutrelis
Revision: 612610

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-p11-kit/repos/multilib-staging-x86_64/
  lib32-p11-kit/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 612609, lib32-p11-kit/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: lib32-p11-kit/repos/multilib-staging-x86_64/PKGBUILD (from rev 612609, lib32-p11-kit/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2020-04-08 15:01:06 UTC (rev 612610)
@@ -0,0 +1,48 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Christoph Vigano <mail at cvigano.de>
+
+pkgname=lib32-p11-kit
+pkgver=0.23.20
+pkgrel=4
+pkgdesc="Loads and enumerates PKCS#11 modules (32-bit library)"
+url="https://p11-glue.freedesktop.org"
+arch=(x86_64)
+license=(BSD)
+depends=(lib32-glibc lib32-libtasn1 lib32-libffi libp11-kit)
+makedepends=(git meson lib32-systemd)
+provides=(libp11-kit.so)
+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() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
+
+  arch-meson p11-kit build \
+    --buildtype debugoptimized \
+    --libdir /usr/lib32 \
+    -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() {
+  DESTDIR="$pkgdir" meson install -C build
+
+  rm -rf "$pkgdir"/etc "$pkgdir"/usr/{bin,include,lib,share}
+
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s libp11-kit "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list