# Template file for 'rebar3'
pkgname=rebar3
version=3.9.0
revision=1
archs=noarch
hostmakedepends=erlang
depends=erlang
short_desc="Erlang build tool to compile, test, and release applications"
maintainer="Noel Cower <ncower@gmail.com>"
license="Apache-2.0"
homepage="https://www.rebar3.org/"
distfiles="https://github.com/erlang/rebar3/archive/${version}.tar.gz"
checksum=9ea73ce4e60ad4b3108641eae73b4098fadb510142e672ad8e3a793f57e9f992

do_build() {
	./bootstrap
}

do_install() {
	vbin rebar3
	vsconf rebar.config.sample rebar.config
	vman manpages/rebar3.1
}
