# Author: Sindre Sorhus # Maintainer: Pat Brisbin # Contributor: Emil Falk pkgname=zsh-pure-prompt-git pkgver=r61.7d3b317 pkgrel=1 pkgdesc='A minimal and pure prompt for zsh.' arch=('any') url='https://github.com/sindresorhus/pure' license=('MIT') depends=('zsh' 'git') source=("$pkgname::git://github.com/sindresorhus/pure.git") sha256sums=('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 pure.zsh \ "$pkgdir/usr/share/zsh/functions/Prompts/prompt_pure_setup" install -Dm644 async.zsh \ "$pkgdir/usr/share/zsh/functions/async" }