summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18b2c3bc2b8e255adc50d18e1a64eab0d81b30b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $Id$
# Maintainer: winlu <derwinlu@gmail.com>

pkgname=rebar3-zsh
pkgver=3.20.0
pkgrel=1
pkgdesc="ZSH completion for rebar3."
arch=('any')
url="https://github.com/erlang/rebar3"
license=('APACHE')
depends=('zsh' 'rebar3')
_filename="_rebar3_${pkgver}"
source=("${_filename}::https://raw.githubusercontent.com/erlang/rebar3/${pkgver}/apps/rebar/priv/shell-completion/zsh/_rebar3")
md5sums=('0ea7182cab18aa959376a0a9993f6f13')

package() {
  install -Dm0644 "${srcdir}/${_filename}" "$pkgdir/usr/share/zsh/site-functions/_rebar3"
}