blob: eff2990850b5de734713c385fc5aa1d1e1a7fbd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=zsh-completions-git
pkgver=0.34.0.r110.g6a5b724
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)
conflicts=(zsh-completions)
source=('git+https://github.com/zsh-users/zsh-completions.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/zsh-completions
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;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
}
|