[arch-commits] Commit in (libjcat libjcat/repos libjcat/trunk libjcat/trunk/PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Apr 15 13:24:42 UTC 2020
Date: Wednesday, April 15, 2020 @ 13:24:42
Author: archange
Revision: 614705
Initial addition of libjcat, required by fwupd
Added:
libjcat/
libjcat/repos/
libjcat/trunk/
libjcat/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: libjcat/trunk/PKGBUILD
===================================================================
--- libjcat/trunk/PKGBUILD (rev 0)
+++ libjcat/trunk/PKGBUILD 2020-04-15 13:24:42 UTC (rev 614705)
@@ -0,0 +1,28 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libjcat
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Library for reading and writing Jcat files"
+arch=(x86_64)
+url="https://github.com/hughsie/libjcat"
+license=(LGPL)
+depends=(gobject-introspection-runtime json-glib gnutls gpgme)
+makedepends=(meson gobject-introspection gtk-doc vala help2man)
+source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('6b7d83e8a63337ef63ee806903633304644e5260cbbcd7bd9bba33b1e3ea42fc' 'SKIP')
+validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes <richard at hughsie.com>
+
+build() {
+ arch-meson ${pkgname}-${pkgver} build -D gtkdoc=true
+ ninja -v -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="${pkgdir}" meson install -C build
+ rm -r "${pkgdir}"/usr/{lib,share}/installed-tests/
+}
More information about the arch-commits
mailing list