Date: Monday, January 14, 2019 @ 21:04:45
  Author: demize
Revision: 423089

archrelease: copy trunk to community-testing-any

Added:
  elixir/repos/community-testing-any/
  elixir/repos/community-testing-any/PKGBUILD
    (from rev 423088, elixir/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 423088, 
elixir/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2019-01-14 21:04:45 UTC (rev 423089)
@@ -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.8.0
+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=('fe896d8b2914f982d2e6fceeb585f59a8f92ad872653fc46c13df9ff86d69234')
+
+build() {
+  cd elixir-"$pkgver"
+  make
+}
+
+check() {
+  cd elixir-"$pkgver"
+  make test_erlang
+}
+
+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
+}

Reply via email to