diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0cd00788eff0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Daniel Greve <greve.daniel.l@gmail.com> + +pkgname=zsh-pure-prompt-git +pkgver=1.4.0.r8.gecae2cc +pkgrel=1 +pkgdesc='Pretty, minimal and fast ZSH prompt' +arch=('any') +url='https://github.com/sindresorhus/pure' +license=('MIT') +depends=('git>=2.0.0' 'zsh>=5.0.0') +source=('git+https://github.com/sindresorhus/pure.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/pure" + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd "${srcdir}/pure" + install -Dm644 pure.zsh "${pkgdir}/usr/share/zsh/functions/Prompts/prompt_pure_setup" + install -Dm644 async.zsh "${pkgdir}/usr/share/zsh/functions/Prompts/async" +} |