aboutsummaryrefslogtreecommitdiffstats
path: root/community/elixir/APKBUILD
blob: 35fae74df8addf493cb05df8dea34e0e056c4055 (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
# Contributor: Daniel Isaksen <d@duniel.no>
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
pkgname=elixir
pkgver=1.9.1
pkgrel=1
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 erlang-inets erlang-ssl erlang-public-key erlang-asn1
	 erlang-sasl erlang-erl-interface erlang-dev erlang-dialyzer
	 erlang-erts erlang-hipe erlang-runtime-tools"
makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit
	     erlang-tools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz
	fix-release-pid-rpc-tests.patch"
builddir="$srcdir/$pkgname-$pkgver"

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="4cfc672d3a2d02e044ffa305ae2986658a431a264b7e06b0fde1773d8d062bde27ea06f0d31433107ef8bfdf6e931c75c6a39de81bc54b275e06edbe0cc87bda  elixir-1.9.1.tar.gz
06f66a26c8a9d938f3231dc27dc4768a48e17eb633f6c7d9c62409b136bdd4e31789feb58c77c61a68ce5c940fd4282a8348e6fbcbad8d1d4a8f75b31a3e2fb0  fix-release-pid-rpc-tests.patch"