blob: beeafc71ae96d960eda7a6679339a4fff4f853cb (
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
|
# $Id$
# Maintainer: winlu <derwinlu@gmail.com>
pkgname=rebar3
pkgver=3.11.1
pkgrel=1
pkgdesc="A sophisticated build-tool for Erlang projects that follows OTP principles."
arch=('any')
url="https://github.com/erlang/rebar3"
license=('APACHE')
depends=('erlang-nox')
optdepends=('rebar3-zsh: ZSH completion')
source=("$pkgname-$pkgver.tar.gz::https://github.com/erlang/rebar3/archive/${pkgver}.tar.gz")
md5sums=('e43fbcfb8cf90e807948b9a1b6d68e72')
build() {
cd "$srcdir/$pkgname-$pkgver"
HOME="." ./bootstrap
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm0755 "${pkgname}" "$pkgdir/usr/bin/${pkgname}"
install -Dm0644 "priv/shell-completion/bash/rebar3" "$pkgdir/usr/share/bash-completion/completions/rebar3"
}
|