1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/elixir/APKBUILD
2025-02-23 01:50:52 +00:00

41 lines
1 KiB
Text

# 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.18.2
pkgrel=0
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="https://elixir-lang.org/"
arch="noarch"
license="Apache-2.0"
depends="erlang-dev>=23.0"
makedepends="erlang-dialyzer"
checkdepends="erlang-doc"
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="
5f17085bf65f0913c5beea79eb8c0724f5d360e926cb77c177930f573cebd8511ede0311e85a7725035753a7c3d320d5243402408b3a5e50c9b8380845d819b7 elixir-1.18.2.tar.gz
"