* add rebar3
This commit is contained in:
parent
d57086964d
commit
f476a5e4f8
18
rebar3/.SRCINFO
Normal file
18
rebar3/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = rebar3
|
||||
pkgdesc = Erlang build tool that makes it easy to compile and test Erlang applications and releases
|
||||
pkgver = 3.24.0
|
||||
pkgrel = 2
|
||||
url = https://github.com/erlang/rebar3
|
||||
arch = any
|
||||
license = Apache-2.0
|
||||
depends = erlang-common_test
|
||||
depends = erlang-core
|
||||
depends = erlang-dialyzer
|
||||
depends = erlang-edoc
|
||||
depends = erlang-erl_interface
|
||||
depends = erlang-eunit
|
||||
depends = erlang-parsetools
|
||||
source = https://github.com/erlang/rebar3/archive/3.24.0/rebar3-3.24.0.tar.gz
|
||||
sha256sums = 391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c
|
||||
|
||||
pkgname = rebar3
|
3
rebar3/.nvchecker.toml
Normal file
3
rebar3/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[rebar3]
|
||||
source = "git"
|
||||
git = "https://github.com/rebar/rebar3.git"
|
50
rebar3/PKGBUILD
Normal file
50
rebar3/PKGBUILD
Normal file
@ -0,0 +1,50 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
|
||||
pkgname=rebar3
|
||||
pkgver=3.24.0
|
||||
pkgrel=2
|
||||
pkgdesc="Erlang build tool that makes it easy to compile and test Erlang applications and releases"
|
||||
arch=('any')
|
||||
url="https://github.com/erlang/rebar3"
|
||||
license=('Apache-2.0')
|
||||
depends=(
|
||||
erlang-common_test
|
||||
erlang-core
|
||||
erlang-dialyzer
|
||||
erlang-edoc
|
||||
erlang-erl_interface
|
||||
erlang-eunit
|
||||
erlang-parsetools
|
||||
)
|
||||
source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha256sums=('391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./bootstrap
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
./rebar3 ct
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -vDm755 -t "$pkgdir/usr/bin" rebar3
|
||||
install -vDm644 -t "$pkgdir/usr/lib/erlang/lib/rebar-$pkgver/ebin" \
|
||||
_build/bootstrap/lib/rebar/ebin/*.beam \
|
||||
_build/bootstrap/lib/rebar/ebin/rebar.app
|
||||
|
||||
install -vDm644 -t "$pkgdir/usr/share/bash-completion/completions" \
|
||||
apps/rebar/priv/shell-completion/bash/rebar3
|
||||
install -vDm644 -t "$pkgdir/usr/share/zsh/site-functions" \
|
||||
apps/rebar/priv/shell-completion/zsh/_rebar3
|
||||
install -vDm644 -t "$pkgdir/usr/share/fish/vendor_completions.d" \
|
||||
apps/rebar/priv/shell-completion/fish/rebar3.fish
|
||||
|
||||
install -vDm644 -t "$pkgdir/usr/share/man/man1" manpages/rebar3.1
|
||||
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" \
|
||||
README.md rebar.config.sample THANKS
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user