# Contributor: Daniel Isaksen # Contributor: Victor Schroeder # Contributor: Marlus Saraiva # Maintainer: Michal Jirků 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 "