Date: Monday, December 2, 2019 @ 20:19:55 Author: demize Revision: 534752
archrelease: copy trunk to community-testing-any Added: elixir/repos/community-testing-any/ elixir/repos/community-testing-any/PKGBUILD (from rev 534751, elixir/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 534751, elixir/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-12-02 20:19:55 UTC (rev 534752) @@ -0,0 +1,32 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Sergej Pupykin <arch+...@sergej.pp.ru> +# Contributor: Gilbert Kennen <gilbert firewatcher org> + +pkgname=elixir +pkgver=1.9.4 +pkgrel=1 +pkgdesc="a functional meta-programming aware language built on top of the Erlang VM" +url="https://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=('f3465d8a8e386f3e74831bf9594ee39e6dfde6aa430fe9260844cfe46aa10139') + +build() { + cd elixir-"$pkgver" + make +} + +check() { + cd elixir-"$pkgver" + make test +} + +package() { + cd elixir-"$pkgver" + mkdir -p "$pkgdir"/usr/share/licenses/"$pkgname" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname" + make DESTDIR="$pkgdir" PREFIX=/usr install +}