aboutsummaryrefslogtreecommitdiffstats
path: root/main/elixir/APKBUILD
blob: c4d6db0b1a80fd3f5c1ddbc5463f151c58e0aada (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
38
39
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>

pkgname=elixir
pkgver=1.0.5
pkgrel=0
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="http://elixir-lang.org"
arch="x86_64"
license="ASL 2.0"
depends="erlang erlang-crypto erlang-syntax-tools erlang-inets erlang-ssl
         erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev"
makedepends="erlang-parsetools erlang-eunit erlang-tools"
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
			*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1
		esac
	done
}

build() {
	cd "$_builddir"
	export LANG="en_US.UTF-8"
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
}

md5sums="abbdda96891b4519a1dc3e65b58f1b0b  elixir-1.0.5.tar.gz"
sha256sums="5ce5c226b3d11d751b41ad79b915b86f13f8a1b89ef3e733321d3f46ff4d81b8  elixir-1.0.5.tar.gz"
sha512sums="1f621e1a3939433dc91a0e2f7e62512b074ce2e8dc7190535570056875f82eda2001a333a51627e39b0f710e104409c8d17aea9635235b0963265d39b32c9f6c  elixir-1.0.5.tar.gz"