summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2015-07-31 10:16:16 +0200
committeraksr2015-07-31 10:16:16 +0200
commitff1da155242b76cdb478a808175993a07cf0f966 (patch)
treebd878ecef020b0ac14e805cdddcf4ed0df90b638
downloadaur-ff1da155242b76cdb478a808175993a07cf0f966.tar.gz
Start.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..596ec7f4ea1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = wmutils-git
+ pkgdesc = A set of tools for X windows manipulation.
+ pkgver = 1.0.r23.g1be37b6
+ pkgrel = 1
+ url = https://github.com/wmutils/core
+ arch = i686
+ arch = x86_64
+ license = ISC
+ depends = libxcb
+ source = wmutils-git::git+https://github.com/wmutils/core.git
+ sha1sums = SKIP
+
+pkgname = wmutils-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..70d33071a8c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Camille <onodera@rizon>
+pkgname=wmutils-git
+pkgver=1.0.r23.g1be37b6
+pkgrel=1
+pkgdesc="A set of tools for X windows manipulation."
+url="https://github.com/wmutils/core"
+arch=('i686' 'x86_64')
+license=('ISC')
+depends=('libxcb')
+source=("$pkgname::git+https://github.com/wmutils/core.git")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g'
+}
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" PREFIX="/usr/local" install
+}
+