From fcba7fb69c1662198ca814abb7bc59787afab3e4 Mon Sep 17 00:00:00 2001
From: Michael Gehring <mg@ebfe.org>
Date: Sat, 13 Aug 2016 20:54:30 +0200
Subject: [PATCH] New package: xcb-util-xrm-1.0

---
 common/shlibs                 |  1 +
 srcpkgs/xcb-util-xrm-devel    |  1 +
 srcpkgs/xcb-util-xrm/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/xcb-util-xrm-devel
 create mode 100644 srcpkgs/xcb-util-xrm/template

diff --git a/common/shlibs b/common/shlibs
index 006f961960a..4f304a96450 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2599,3 +2599,4 @@ libmono-profiler-log.so.0 mono-4.0.1.44_2
 libikvm-native.so mono-4.0.1.44_2
 libMonoPosixHelper.so mono-4.0.1.44_2
 libMonoSupportW.so mono-4.0.1.44_2
+libxcb-xrm.so.0 xcb-util-xrm-1.0_1
diff --git a/srcpkgs/xcb-util-xrm-devel b/srcpkgs/xcb-util-xrm-devel
new file mode 120000
index 00000000000..afebf6028a6
--- /dev/null
+++ b/srcpkgs/xcb-util-xrm-devel
@@ -0,0 +1 @@
+xcb-util-xrm
\ No newline at end of file
diff --git a/srcpkgs/xcb-util-xrm/template b/srcpkgs/xcb-util-xrm/template
new file mode 100644
index 00000000000..5c276fc19cb
--- /dev/null
+++ b/srcpkgs/xcb-util-xrm/template
@@ -0,0 +1,28 @@
+# Template file for 'xcb-util-xrm'
+pkgname=xcb-util-xrm
+version=1.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config m4"
+makedepends="xcb-util-devel"
+short_desc="XCB utility functions for the X resource manager"
+maintainer="Michael Gehring <mg@ebfe.org>"
+license="MIT"
+homepage="https://github.com/Airblader/xcb-util-xrm"
+distfiles="https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/xcb-util-xrm-${version}.tar.gz"
+checksum=f6fc70222e5faf6f20e8f87e416859fef664c80ef4381692a0cc6d028fc79216
+
+post_install() {
+	vlicense COPYING
+}
+
+xcb-util-xrm-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.so
+		vmove usr/lib/*.a
+		vmove usr/lib/pkgconfig
+	}
+}