blob: ef5d71db19b48a14fd151ee4a1f2e9c6b86b9cd4 (
plain)
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
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Daniel Isaksen <d@duniel.no>
# Contributor: Victor Schroeder <me@vschroeder.net>
# Contributor: Marlus Saraiva <marlus.saraiva@gmail.com>
# Maintainer: Michal Jirků <box@wejn.org>
pkgname=elixir
pkgver=1.15.7
pkgrel=1
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="https://elixir-lang.org/"
# arm: build fails hundreds of times in a row on builders
# x86: fails tests
arch="noarch !x86 !armhf !armv7"
license="Apache-2.0"
depends="erlang-dev>=23.0"
makedepends="erlang-dialyzer"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz
"
build() {
LANG="en_US.UTF-8" make
}
check() {
set +e
make test
ret=$?
set -e
# test starts epmd, which then hangs presubmit pipeline.
# so we kill it here.
killall -q epmd
return $ret
}
package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
a46f0569cbff342f15a04776f8d57cf2554867546004adabd9b9dff36c184ec56a78f2df2fc6c0855e65c11277662f694f5e6a8c6e1716cf4e22d8fdd5e1d4ae elixir-1.15.7.tar.gz
"
|