summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSammysHP2016-10-23 23:10:48 +0200
committerSammysHP2016-10-23 23:10:48 +0200
commit3073badc6aa4eaab6ea3e0f429ac39787ca23e2a (patch)
treed73f01525dd6ddcf5084ec29150eee39d0397a88 /PKGBUILD
downloadaur-3073badc6aa4eaab6ea3e0f429ac39787ca23e2a.tar.gz
Add PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d4bdefeb32c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Sven Karsten Greiner <sven@sammyshp.de>
+pkgname=i3lockmore-git
+pkgver=r2.c19aded
+pkgrel=1
+pkgdesc='A wrapper for i3lock that adds additional functionality'
+arch=('any')
+url='https://github.com/SammysHP/i3lockmore'
+license=('MIT')
+depends=('i3lock' 'imagemagick' 'xorg-xset')
+source=("${pkgname%-git}::git+https://github.com/SammysHP/${pkgname%-git}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ install -Dm755 i3lockmore "${pkgdir}/usr/bin/i3lockmore"
+}