summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvio Ankermann2017-11-09 03:02:34 +0100
committerSilvio Ankermann2017-11-09 03:03:50 +0100
commitb8f97e73cb2b8b8fe764c202a200cf083f83a009 (patch)
tree0c55d749e35c5af5c9b67b1c4d4155b5287d328e
downloadaur-b8f97e73cb2b8b8fe764c202a200cf083f83a009.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD22
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..06ca2fcdaa4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Nov 9 02:02:13 UTC 2017
+pkgbase = git-annex-zshcompletion-git
+ pkgdesc = ZSH completion support for git-annex.
+ pkgver = r59.e87e7db
+ pkgrel = 1
+ url = https://github.com/Schnouki/git-annex-zsh-completion
+ arch = any
+ depends = zsh
+ depends = git
+ depends = git-annex
+ depends = python>=3.2
+ source = git-annex-zshcompletion-git::git+https://github.com/Schnouki/git-annex-zsh-completion
+ sha512sums = SKIP
+
+pkgname = git-annex-zshcompletion-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..64e409628bd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Silvio Ankermann < silvio at booq dot org >
+
+pkgname=git-annex-zshcompletion-git
+pkgver=r59.e87e7db
+pkgrel=1
+pkgdesc="ZSH completion support for git-annex."
+arch=('any')
+url='https://github.com/Schnouki/git-annex-zsh-completion'
+depends=('zsh' 'git' 'git-annex' 'python>=3.2')
+source=("$pkgname::git+https://github.com/Schnouki/git-annex-zsh-completion")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -d "${pkgdir}/usr/share/zsh/site-functions"
+ install -m 0644 "_git-annex" "$pkgdir/usr/share/zsh/site-functions/"
+}