summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d8ae298decf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = x-active-window-indicator-git
+ pkgdesc = An X11 utility that signals the active window
+ pkgver = r103.0f2c386
+ pkgrel = 1
+ url = https://github.com/tomKPZ/x-active-window-indicator
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = git
+ depends = gcc-libs
+ depends = glibc
+ depends = libxcb
+ source = git+https://github.com/tomKPZ/x-active-window-indicator.git
+ md5sums = SKIP
+
+pkgname = x-active-window-indicator-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba65da3caf8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=x-active-window-indicator-git
+pkgver=r103.0f2c386
+pkgrel=1
+pkgdesc="An X11 utility that signals the active window"
+url="https://github.com/tomKPZ/x-active-window-indicator"
+arch=("x86_64")
+license=("GPL3")
+depends=("gcc-libs" "glibc" "libxcb")
+makedepends=("cmake" "git")
+
+source=("git+https://github.com/tomKPZ/x-active-window-indicator.git")
+md5sums=("SKIP")
+
+pkgver() {
+ cd "$srcdir/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname}"
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}"
+ make DESTDIR="$pkgdir" install
+}