# Contributor: Daniel Isaksen # Contributor: Victor Schroeder # Contributor: Marlus Saraiva # Maintainer: Michal Jirků pkgname=elixir pkgver=1.14.3 pkgrel=0 pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications" url="https://elixir-lang.org/" # build fails hundreds of times in a row on builders arch="noarch !armv7" license="Apache-2.0" depends="erlang-dev>=23.0 erlang-dialyzer" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz issue-12345.patch " build() { # fix compile in 1.14.3, remove when the following is part of release tarball: # https://github.com/elixir-lang/elixir/commit/0cce63e43f2fcbc8fe96fe2573e99b2279a69d65 sed -i 's/^.NOTPARALLEL: compile/.NOTPARALLEL:/' Makefile LANG="en_US.UTF-8" make } check() { make test # test starts epmd, which then hangs presubmit pipeline. # so we kill it here. killall -q epmd } package() { make DESTDIR="$pkgdir" PREFIX=/usr install } sha512sums=" eec1e161364f823e26d79596d18b0ff7e6ade1c2c1f6f9ca84eb34d20fd90f434bbd29ef74cd41096e8f25e71d9cd1da0ec6f0a4f24c485124f9525b1ae2c4e0 elixir-1.14.3.tar.gz 7ce0be877d8dbfe4e9b535bbbfbdd751427431bf0fd9e7c071c6008ce21c52dd6ad3d737ec72ed39b529ed8d25968dae5e0283792273a8d01a5d88c673ce3868 issue-12345.patch "