# Tanım: otp esaslarına göre erlang derleme aracı
# URL: https://github.com/rebar/rebar3
# Paketçi: milisarge
# Gerekler: erlang

isim=rebar3
surum=3.3.4
devir=1
kaynak=(https://github.com/rebar/rebar3/archive/${surum}.tar.gz)

derle(){
	cd "$SRC/$isim-$surum"
	./bootstrap
	install -Dm0755 "${isim}" "$PKG/usr/bin/${isim}"
	install -Dm0644 "priv/shell-completion/bash/rebar3" "$PKG/usr/share/bash-completion/completions/rebar3"
}

