From edbb6ccebb137bc078339477b698e69653a79992 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 2 Feb 2019 17:30:12 +0000
Subject: gcab: initial inclusion. dep of appstream-glib

---
 abs/extra/gcab/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 abs/extra/gcab/PKGBUILD

diff --git a/abs/extra/gcab/PKGBUILD b/abs/extra/gcab/PKGBUILD
new file mode 100644
index 0000000..6eaa571
--- /dev/null
+++ b/abs/extra/gcab/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gcab
+pkgver=1.2
+pkgrel=1
+pkgdesc="A GObject library to create cabinet files"
+url="https://wiki.gnome.org/msitools"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2)
+makedepends=(gobject-introspection vala zlib git gtk-doc meson)
+_commit=8484568d2e5b55a87cb6d6925ccb2f655159cf99  # tags/v1.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gcab.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
-- 
cgit v0.12

