aboutsummaryrefslogtreecommitdiffstats
path: root/community/elixir/APKBUILD
blob: 9fd8f6e022aabd6acfe0375e30e563f1038a1300 (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
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
pkgname=elixir
pkgver=1.5.2
pkgrel=0
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="http://elixir-lang.org"
arch="noarch"
license="ASL 2.0"
options="!check"
depends="erlang erlang-inets erlang-ssl
	erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev"
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"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	export LANG="en_US.UTF-8"
	make -j1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="ca8bdd8d97d68a49f9db1cffbb2ff028363ff7679c88aad543208688909f915c55f5a69293c423747f34be6171b38e0180f3654581ab38014c4988a3972cd024  elixir-1.5.2.tar.gz"