diff options
author | Zach van Rijn <me@zv.io> | 2022-04-22 20:57:35 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:35 +0000 |
commit | 72875b0cddac944a4a4b159220ef264011a0c155 (patch) | |
tree | 57fe14b18570f7c223df0654fac30d1be17140a5 /legacy/erl-rebar/APKBUILD | |
parent | 38c648a1939321cb6defa81161df0e9be4d6aef6 (diff) | |
download | packages-72875b0cddac944a4a4b159220ef264011a0c155.tar.gz packages-72875b0cddac944a4a4b159220ef264011a0c155.tar.bz2 packages-72875b0cddac944a4a4b159220ef264011a0c155.tar.xz packages-72875b0cddac944a4a4b159220ef264011a0c155.zip |
user/erl-rebar: move to 'legacy/' (no rdeps). fixes #578.
Diffstat (limited to 'legacy/erl-rebar/APKBUILD')
-rw-r--r-- | legacy/erl-rebar/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/legacy/erl-rebar/APKBUILD b/legacy/erl-rebar/APKBUILD new file mode 100644 index 000000000..5fdc774fd --- /dev/null +++ b/legacy/erl-rebar/APKBUILD @@ -0,0 +1,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" |