[arch-commits] Commit in lib32-p11-kit/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Jun 3 19:36:08 UTC 2021


    Date: Thursday, June 3, 2021 @ 19:36:08
  Author: heftig
Revision: 955722

0.24.0-1

Modified:
  lib32-p11-kit/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-03 18:52:59 UTC (rev 955721)
+++ PKGBUILD	2021-06-03 19:36:08 UTC (rev 955722)
@@ -3,7 +3,7 @@
 # Contributor: Christoph Vigano <mail at cvigano.de>
 
 pkgname=lib32-p11-kit
-pkgver=0.23.22
+pkgver=0.24.0
 pkgrel=1
 pkgdesc="Loads and enumerates PKCS#11 modules (32-bit library)"
 url="https://p11-glue.freedesktop.org"
@@ -10,15 +10,16 @@
 arch=(x86_64)
 license=(BSD)
 depends=(lib32-glibc lib32-libtasn1 lib32-libffi libp11-kit)
-makedepends=(git meson lib32-systemd)
+makedepends=(meson lib32-systemd)
 provides=(libp11-kit.so)
-source=("git+https://github.com/p11-glue/p11-kit?signed#tag=$pkgver")
-sha256sums=('SKIP')
+source=(https://github.com/p11-glue/p11-kit/releases/download/$pkgver/p11-kit-$pkgver.tar.xz{,.sig})
+sha256sums=('81e6140584f635e4e956a1b93a32239acf3811ff5b2d3a5c6094e94e99d2c685'
+            'SKIP')
 validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF'  # Stef Walter
               '462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
 
 prepare() {
-  cd p11-kit
+  cd p11-kit-$pkgver
 }
 
 build() {
@@ -26,7 +27,7 @@
   export CXX="g++ -m32"
   export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
 
-  arch-meson p11-kit build \
+  arch-meson p11-kit-$pkgver build \
     --buildtype debugoptimized \
     --libdir /usr/lib32 \
     -D bash_completion=disabled \
@@ -39,12 +40,11 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 
   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"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list