blob: 437ca47838b95da3c1ace1e1eef981c28277ae85 (
plain) (
tree)
|
|
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Alyx Wolcott <alyx@leuhta.com>
pkgname=erl-rebar3
pkgver=3.23.0
pkgrel=0
pkgdesc="Erlang build tool"
url="https://www.rebar3.org/"
arch="noarch"
options="!tracedeps"
license="Apache-2.0"
depends="erlang"
makedepends="erlang-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/erlang/rebar3/tar.gz/$pkgver"
builddir="$srcdir/rebar3-$pkgver"
build() {
./bootstrap
}
check() {
./rebar3 ct
}
package() {
install -d -m755 $pkgdir/usr/bin/
install -m755 ./rebar3 $pkgdir/usr/bin/
gzip -c ./manpages/rebar3.1 > ./manpages/rebar3.1.gz
install -d -m755 $pkgdir/usr/share/man/man1/
install -m644 ./manpages/rebar3.1.gz $pkgdir/usr/share/man/man1/
}
sha512sums="4da1db8ed830c59fb322c1a652c2efe28d54e09ad74d12a87381ea7a7f13965b91815f383221831fbc14e6deed1a75db1039164f7df128a977d5b64048540cc3 erl-rebar3-3.23.0.tar.gz"
|