diff options
author | Ian Luites | 2019-05-22 10:08:09 +0200 |
---|---|---|
committer | Ian Luites | 2019-05-22 10:08:09 +0200 |
commit | 4bf0f407624e46d8a6ed08d5ed5b4fd9fa2e2610 (patch) | |
tree | eb7c7d3235a455d841defca748b325ef41e3177c | |
download | aur-4bf0f407624e46d8a6ed08d5ed5b4fd9fa2e2610.tar.gz |
Initial 1.8.2 release to keep a more up to date version.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..03390d158f71 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = elixir-git + pkgdesc = a functional meta-programming aware language built on top of the Erlang VM + pkgver = 1.8.2 + pkgrel = 1 + url = http://elixir-lang.org + arch = any + license = Apache + license = custom:EPL + checkdepends = git + depends = erlang-nox + source = elixir-git-1.8.2.tar.gz::https://github.com/elixir-lang/elixir/archive/v1.8.2.tar.gz + sha256sums = cf9bf0b2d92bc4671431e3fe1d1b0a0e5125f1a942cc4fdf7914b74f04efb835 + +pkgname = elixir-git + provides = elixir + conflicts = elixir + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..66736fce31ef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Ian Luites <ian@luites.com> +# Previous maintainer and contributors of the `elixir` pkg: +# Contributor: Johannes Löthberg <johannes@kyriasis.com> +# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Contributor: Gilbert Kennen <gilbert firewatcher org> + +pkgname=elixir-git +pkgver=1.8.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') +checkdepends=('git') +source=("$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz") +sha256sums=('cf9bf0b2d92bc4671431e3fe1d1b0a0e5125f1a942cc4fdf7914b74f04efb835') + +build() { + cd elixir-"$pkgver" + make +} + +check() { + cd elixir-"$pkgver" + make test_erlang +} + +package() { + provides=(elixir) + conflicts=(elixir) + + cd elixir-"$pkgver" + mkdir -p "$pkgdir"/usr/share/licenses/"$pkgname" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname" + make DESTDIR="$pkgdir" PREFIX=/usr install +} + |