blob: f74cfc322d1f31e582f5a6304844cae3962066ad (
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
|
# Maintainer (Arch): Gilbert Kennen <gilbert firewatcher org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=elixir
_pkgver=34df817
pkgver=1.0.2
pkgrel=1
pkgdesc="a functional meta-programming aware language built on top of the Erlang VM"
url="http://elixir-lang.org"
arch=('any')
license=('Apache' 'custom:EPL')
depends=('erlang-nox')
source=("https://github.com/elixir-lang/elixir/tarball/v${pkgver}")
sha512sums=('fea1a62abf3274dcc62d568a1f6a39f76f602bda393dc4eb0b7bb875bc12fc949c70737c90101970d28fd21dfcfe8985659e1729678b66804cb925d4a3afffdd')
build() {
cd "$srcdir/${pkgname}-lang-${pkgname}-${_pkgver}"
make
}
check() {
cd "$srcdir/${pkgname}-lang-${pkgname}-${_pkgver}"
make test_erlang
}
package() {
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
cd "$srcdir/${pkgname}-lang-${pkgname}-${_pkgver}"
install -Dm644 {LEGAL,LICENSE} "${pkgdir}/usr/share/licenses/${pkgname}"
make DESTDIR=$pkgdir PREFIX=/usr install
}
|