summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArti Zirk2018-11-15 16:00:42 +0200
committerArti Zirk2018-11-15 16:00:42 +0200
commit28d40df6abf492a4e57e5e11658dc93645367a14 (patch)
tree831812daeecf2f68d1b2a6b7eec257331f76d051
downloadaur-28d40df6abf492a4e57e5e11658dc93645367a14.tar.gz
first commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ef5390f5b5e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = keybase-zsh-completion-git
+ pkgdesc = ZSH completion for keybase
+ pkgver = r5.4ec76d5
+ pkgrel = 1
+ url = https://github.com/fnoris/keybase-zsh-completion
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = zsh
+ provides = keybase-zsh-completion-git
+ conflicts = keybase-zsh-completion-git
+ source = keybase-zsh-completion-git::git+https://github.com/fnoris/keybase-zsh-completion.git
+ md5sums = SKIP
+
+pkgname = keybase-zsh-completion-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..35c7ef7eb77
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*tar*
+keybase-zsh-completion-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..47a783c99b5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Arti Zirk <arti.zirk@gmail.com>
+
+pkgname=keybase-zsh-completion-git
+pkgver=r5.4ec76d5
+pkgrel=1
+pkgdesc="ZSH completion for keybase"
+arch=('any')
+url="https://github.com/fnoris/keybase-zsh-completion"
+license=('MIT')
+groups=()
+depends=('zsh')
+makedepends=('git')
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+replaces=()
+backup=()
+options=()
+install=
+source=('keybase-zsh-completion-git::git+https://github.com/fnoris/keybase-zsh-completion.git')
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname}"
+ install -Dm644 _keybase "$pkgdir/usr/share/zsh/site-functions/_keybase"
+}