blob: 6cc7e5aef733ce21dcc2869a5feb56f7beddff67 (
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
40
|
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
pkgname=elixir
pkgver=1.2.4
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-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
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="8eb7e75c4639c0a1fc9ac1d570513abd elixir-1.2.4.tar.gz"
sha256sums="16759ff84d08b480b7e5499716e663b2fffd26e20cf2863de5613bc7bb05c817 elixir-1.2.4.tar.gz"
sha512sums="57e2929f415de02eeeac5ea4784578957e355e6064860d1e1349e0a905729624dea71299fbc9db02287a22e9daf986f2cad501dec79fadaecdc2f338978205ae elixir-1.2.4.tar.gz"
|