Skip to content

Instantly share code, notes, and snippets.

@poxar
Created April 7, 2013 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poxar/5329795 to your computer and use it in GitHub Desktop.
Save poxar/5329795 to your computer and use it in GitHub Desktop.
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=zsh-completions-git
pkgver=0.3.0.126.g7f739d0
pkgrel=1
pkgdesc="Additional completion definitions for Zsh"
arch=(any)
url="https://github.com/zsh-users/zsh-completions"
license=(GPL)
depends=(zsh)
makedepends=(git)
provides=(zsh-completions zsh-virtualbox zsh-packagekit zsh-yaourt zsh-bumblebee)
conflicts=(zsh-completions zsh-virtualbox zsh-packagekit zsh-yaourt zsh-bumblebee)
source=('git://github.com/zsh-users/zsh-completions.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/zsh-completions"
git describe --always | sed 's|-|.|g'
}
package() {
cd "$srcdir/zsh-completions/src"
install -m0755 -d "$pkgdir/usr/share/zsh/site-functions"
install -m0644 _* "$pkgdir/usr/share/zsh/site-functions"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment