blob: 794ffa5a8660d64c79f181b2f2ddaeb6072f029b (
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
28
|
# Maintainer: Vadim Yanitskiy <fixeria@osmocom.org>
# Contributor: winlu <derwinlu@gmail.com>
pkgname=rebar3
pkgver=3.24.0
pkgrel=1
pkgdesc="A sophisticated build-tool for Erlang projects that follows OTP principles."
arch=('any')
url="https://github.com/erlang/rebar3"
license=('Apache-2.0')
depends=('erlang-nox')
optdepends=('rebar3-zsh: ZSH completion')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
source=("$pkgname-$pkgver.tar.gz::https://github.com/erlang/rebar3/archive/${pkgver}.tar.gz")
sha256sums=('391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c')
build() {
cd "$srcdir/$pkgname-$pkgver"
HOME="." ./bootstrap
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm0755 "${pkgname}" "$pkgdir/usr/bin/${pkgname}"
install -Dm0644 "apps/rebar/priv/shell-completion/bash/rebar3" "$pkgdir/usr/share/bash-completion/completions/rebar3"
}
|