1 # Maintainer: Kyrylo Silin <kyrylosilin@gmail.com>
3 pkgname=zsh-completion-subtle
6 pkgdesc="Z Shell completion scripts for Subtle WM and its tools."
7 url="https://www.github.com/kyrylo/zsh-completion-subtle"
9 license=('MIT License')
13 _gitroot="git://www.github.com/kyrylo/zsh-completion-subtle.git"
14 _gitrepo="zsh-completion-subtle"
19 msg "Connecting to Git server..."
21 if [ -d $_gitrepo ]; then
23 git pull origin || return 1
24 msg "The local files are updated."
26 git clone --depth=1 $_gitroot $_gitrepo || return 1
29 msg "Git checkout done or server timeout."
34 cd "$srcdir/$_gitrepo"
35 install -m0755 -d "$pkgdir/usr/share/zsh/site-functions"
36 install -m0644 _* "$pkgdir/usr/share/zsh/site-functions"