blob: b303135b5031b842386e7bb3fbf2ae4a79c75914 (
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.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-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="5149c7f56c65c219b1a2745c0622394d elixir-1.2.5.tar.gz"
sha256sums="8ed65722aeb55cbfe6022d77d0e36293d463d7b4922198f5c157e8286d896eee elixir-1.2.5.tar.gz"
sha512sums="62b09650002cc4ea01d1210765750706feb926bdc81ff30a3665b49722f8231f4e790e0fecb2fdc06a1d64dfc71213eaf187c8724c52841d91d5b5a7e3ca6749 elixir-1.2.5.tar.gz"
|