summaryrefslogtreecommitdiff
path: root/user/erl-rebar3/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-07-06 01:27:11 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-07-06 01:27:11 +0000
commit20939b24db511741bbbe894894c3795628628641 (patch)
treee5b0efdf069b347521d629a962f7d5103734b40a /user/erl-rebar3/APKBUILD
parent8b6d8279a455d32066a32d7ca93f7a8df476a706 (diff)
parent842362c246553f121cc1e18c7e0bc398551850ca (diff)
downloadpackages-20939b24db511741bbbe894894c3795628628641.tar.gz
packages-20939b24db511741bbbe894894c3795628628641.tar.bz2
packages-20939b24db511741bbbe894894c3795628628641.tar.xz
packages-20939b24db511741bbbe894894c3795628628641.zip
Merge @alyx's packages into master
Pkgs on pkgs on pkgs. * user/erl-rebar: a buildsys * user/erl-rebar3: another buildsys * user/perl-carp-clan: [carp clan](https://cdn.bulbagarden.net/upload/0/02/129Magikarp.png) stuff * user/perl-bit-vector: are they bits? are they vectors? the world may never know * user/perl-class-accessor: a thicc brother for perl-class-accessor-lite * user/ruby-bundler: [gems stuff](https://www.youtube.com/watch?v=h-Z7ytsEZDo) See merge request adelie/packages!265
Diffstat (limited to 'user/erl-rebar3/APKBUILD')
-rw-r--r--user/erl-rebar3/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/erl-rebar3/APKBUILD b/user/erl-rebar3/APKBUILD
new file mode 100644
index 000000000..75cb671d5
--- /dev/null
+++ b/user/erl-rebar3/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: Alyx Wolcott <alyx@leuhta.com>
+pkgname=erl-rebar3
+pkgver=3.11.1
+pkgrel=0
+pkgdesc="Erlang build tool"
+url="http://www.rebar3.org/"
+arch="all"
+license="Apache-2"
+options="!tracedeps"
+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="749368c8c19641d0c1083f1750438cfc5f1c75e284bd74b4f8ae368103e79a376f4bd91e85db35e1619116cd2f3b1a8dc2d3d89db19da8f4440e0b58d3c0a37c erl-rebar3-3.11.1.tar.gz"