# Maintainer: Marlus Saraiva pkgname=elixir pkgver=1.6.5 pkgrel=0 pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications" url="http://elixir-lang.org" arch="noarch" license="Apache-2.0" depends="erlang erlang-inets erlang-ssl erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev erlang-dialyzer erlang-erts erlang-hipe" makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit erlang-tools" subpackages="$pkgname-doc" # TODO: remove disable-iex-tests.patch once elixir 1.7 is released, see https://github.com/elixir-lang/elixir/pull/7350 source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz disable-iex-tests.patch" builddir="$srcdir/$pkgname-$pkgver" case "$CARCH" in aarch64) options="!check" ;; # FIXME esac build() { cd "$builddir" LANG="en_US.UTF-8" make -j1 } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" PREFIX=/usr install } sha512sums="e2cf9c2d9198da32cefb841cae4ce64bb52eb28239bbffb6d991916cfdee420b242773664efa7381eb4609c67438ab608f5f96ca2c403b54ecdd9bfdddf91a95 elixir-1.6.5.tar.gz 7d579a8be0f6ba2de6d85861267f9fea7846c29cf661c3221b02e1464c87db941d015a18217ffe25a5846a4ea63ccf8338541568a70bf9ec07237b91a94a0860 disable-iex-tests.patch"