summaryrefslogtreecommitdiff
path: root/user/elixir/APKBUILD
blob: e23466f1882cd32f3e02c2b7c322e5b4d37c51f1 (plain) (blame)
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
# Contributor: Daniel Isaksen <d@duniel.no>
# Contributor: Marlus Saraiva <marlus.saraiva@gmail.com>
# Maintainer: Lee Starnes <lee@canned-death.us>
pkgname=elixir
pkgver=1.10.3
pkgrel=0
pkgdesc="Dynamic, functional language designed for building scalable and maintainable applications"
url="https://elixir-lang.org/"
arch="noarch"
license="Apache-2.0"
depends="erlang"
makedepends="erlang-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

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

sha512sums="66b18b983e5374afbd4d94c43a880c5e46a9aa150fa6f38be74ff7f58a19eaaee00248b202d9ae3f6b78e2495fc8d5cec755de644256a731be367766c3812855  elixir-1.10.3.tar.gz"