[arch-commits] Commit in lib32-p11-kit/repos (2 files)
Jan Steffens
heftig at archlinux.org
Tue Mar 10 16:30:13 UTC 2020
Date: Tuesday, March 10, 2020 @ 16:30:12
Author: heftig
Revision: 593670
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-p11-kit/repos/multilib-testing-x86_64/
lib32-p11-kit/repos/multilib-testing-x86_64/PKGBUILD
(from rev 593669, lib32-p11-kit/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: lib32-p11-kit/repos/multilib-testing-x86_64/PKGBUILD (from rev 593669, lib32-p11-kit/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2020-03-10 16:30:12 UTC (rev 593670)
@@ -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=3
+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