summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Bürk2016-01-22 21:58:01 +0100
committerIngo Bürk2016-01-22 21:59:22 +0100
commit3c7e689c0e00ca397b83519bafe84ebcfdaf27d9 (patch)
tree3da3e040ec6c91c669e494654893850777f4a1e1
downloadaur-3c7e689c0e00ca397b83519bafe84ebcfdaf27d9.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6648bb09339
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Fri Jan 22 20:59:15 UTC 2016
+pkgbase = xcb-util-xrm-git
+ pkgdesc = XCB utility functions for the X resource manager
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/Airblader/xcb-util-xrm
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = xorg-util-macros
+ depends = libxcb
+ provides = xcb-util-xrm
+ conflicts = xcb-util-xrm
+ source = util-xrm::git+http://github.com/Airblader/xcb-util-xrm
+ md5sums = SKIP
+
+pkgname = xcb-util-xrm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..82afb81f874
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Ingo Bürk <admin at airblader dot de>
+_pkgname=util-xrm
+pkgname=xcb-${_pkgname}-git
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='XCB utility functions for the X resource manager'
+arch=('i686' 'x86_64')
+url="https://github.com/Airblader/xcb-util-xrm"
+license=('MIT')
+depends=('libxcb')
+makedepends=('git' 'xorg-util-macros')
+provides=("xcb-${_pkgname}")
+conflicts=("xcb-${_pkgname}")
+source=("$_pkgname::git+http://github.com/Airblader/xcb-util-xrm")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$_pkgname"
+ git submodule update --init
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make DESTDIR="$pkgdir" install
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
+ cp "$srcdir/$_pkgname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
+}