Date: Monday, October 14, 2019 @ 18:14:44
  Author: demize
Revision: 515832

archrelease: copy trunk to community-testing-any

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

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

Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 515831, 
elixir/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2019-10-14 18:14:44 UTC (rev 515832)
@@ -0,0 +1,32 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Gilbert Kennen <gilbert firewatcher org>
+
+pkgname=elixir
+pkgver=1.9.2
+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=('02aaa3ffd21f9cf51aceb3aa5a5bc2c1e2636b1611867e44f19693dcf856e25c')
+
+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