blob: 09b94cc5bd8de28f54659282dc13b65271b11678 (
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
30
31
32
33
|
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Alyx Wolcott <alyx@leuhta.com>
pkgname=erl-rebar3
pkgver=3.18.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="4fcaa1867fba7462df0b9a64fa442f4a887e83530635fdcd19f4b5dcee14ace3e7403c27f35e5e6055fb6bf89c98a91a3ff1e2036ab6e67e3de028f91233e4ed erl-rebar3-3.18.0.tar.gz"
|