APKBUILD 1.05 KB
Newer Older
Marlus Saraiva's avatar
Marlus Saraiva committed
1 2
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
pkgname=elixir
3
pkgver=1.7.3
4
pkgrel=0
Marlus Saraiva's avatar
Marlus Saraiva committed
5 6
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="http://elixir-lang.org"
7
arch="noarch"
8
license="Apache-2.0"
Marlus Saraiva's avatar
Marlus Saraiva committed
9
depends="erlang erlang-inets erlang-ssl
Eugene Pirogov's avatar
Eugene Pirogov committed
10
	erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev erlang-dialyzer erlang-erts erlang-hipe"
Marlus Saraiva's avatar
Marlus Saraiva committed
11
makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit erlang-tools"
12
subpackages="$pkgname-doc"
13
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"
14
builddir="$srcdir/$pkgname-$pkgver"
Marlus Saraiva's avatar
Marlus Saraiva committed
15

16 17 18 19
case "$CARCH" in
aarch64) options="!check" ;; # FIXME
esac

Marlus Saraiva's avatar
Marlus Saraiva committed
20
build() {
21
	cd "$builddir"
22
	LANG="en_US.UTF-8" make -j1
Marlus Saraiva's avatar
Marlus Saraiva committed
23 24
}

Sören Tempel's avatar
Sören Tempel committed
25 26 27 28 29 30
check() {
	cd "$builddir"

	make test
}

Marlus Saraiva's avatar
Marlus Saraiva committed
31
package() {
32
	cd "$builddir"
33
	make DESTDIR="$pkgdir" PREFIX=/usr install
Marlus Saraiva's avatar
Marlus Saraiva committed
34 35
}

36
sha512sums="67c8de5a85eefc5f7d7ed42ec8b96cb34937cea6c94eb1f2c27237fc0b4c51b2eb39d65c2a4dce4788cb6ed1879fb1839cd8d73c66be71b0b4895952dc228f05  elixir-1.7.3.tar.gz"