summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD22
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..029eb9deb00
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = xgetres
+ pkgdesc = Get the value of an X resource
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/tamirzb/xgetres
+ arch = x86_64
+ license = MIT
+ depends = libx11
+ source = xgetres-1.0.tar.gz::https://github.com/tamirzb/xgetres/archive/1.0.tar.gz
+ md5sums = 862c639b5112cb83765cb516c0a311a0
+
+pkgname = xgetres
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a70631007c4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Tamir Zahavi-Brunner <tamir.z3@gmail.com>
+pkgname=xgetres
+pkgver=1.0
+pkgrel=1
+pkgdesc="Get the value of an X resource"
+arch=('x86_64')
+url="https://github.com/tamirzb/xgetres"
+license=('MIT')
+depends=('libx11')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tamirzb/xgetres/archive/$pkgver.tar.gz")
+md5sums=('862c639b5112cb83765cb516c0a311a0')
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make PREFIX="$pkgdir/usr" install
+ install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}