summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..01cf53b1879
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Yusuf Aktepe <yusuf@yusufaktepe.com>
+
+pkgname=xclickroot-git
+pkgver=r3.309fd17
+pkgrel=1
+pkgdesc="Click on root window and run a command"
+arch=(x86_64)
+url="https://github.com/phillbush/xclickroot"
+license=('Public Domain')
+depends=('libx11')
+makedepends=('git')
+source=("git+$url.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}