Date: Saturday, December 4, 2021 @ 16:43:06
  Author: demize
Revision: 1065044

archrelease: copy trunk to community-testing-any

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

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

Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 1065043, 
elixir/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2021-12-04 16:43:06 UTC (rev 1065044)
@@ -0,0 +1,39 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Gilbert Kennen <gilbert firewatcher org>
+
+pkgname=elixir
+pkgver=1.13.0
+pkgrel=1
+
+pkgdesc="a functional meta-programming aware language built on top of the 
Erlang VM"
+url="https://elixir-lang.org";
+license=('Apache' 'custom:EPL')
+
+arch=('any')
+
+depends=('erlang-nox')
+checkdepends=('git')
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz";)
+sha256sums=('0ed0fb89a9b6428cd1537b7f9aab1d6ea64e0c5972589eeb46dff6f0324468ae')
+
+build() {
+  cd elixir-"$pkgver"
+  make
+}
+
+check() {
+  cd elixir-"$pkgver"
+  ERL_EPMD_PORT=5369 make test
+
+  # The elixir test suite starts up epmd and then doesn't kill it again 
afterwards.
+  epmd -port 5369 -kill
+}
+
+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