summaryrefslogtreecommitdiff
path: root/user/erl-rebar/APKBUILD
blob: 5fdc774fdc3679a4a7f98478d946b8a72b4f9ec9 (plain) (blame)
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
29
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Alyx Wolcott <alyx@leuhta.com>
pkgname=erl-rebar
pkgver=2.6.4
pkgrel=0
pkgdesc="Legacy Erlang build tool"
url="https://github.com/rebar/rebar"
arch="noarch"
options="!tracedeps"
license="Apache-2.0"
depends="erlang"
makedepends="erlang-dev"
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/rebar/rebar/tar.gz/$pkgver"
builddir="$srcdir/rebar-$pkgver"

build() {
	./bootstrap
}

check() {
	./rebar -v eunit
}

package() {
	install -d -m755 $pkgdir/usr/bin/
	install -m755 ./rebar $pkgdir/usr/bin/
}

sha512sums="4e53d1ab7db296c60fb039443da7e3b31b63410fc614690c6faa7ec330d9e9393dbc1c8507aa4aea2c99397e1b443ff9d25e4d57ec57f616ee748aa97d055ffa  erl-rebar-2.6.4.tar.gz"