[arch-commits] Commit in elixir/repos (2 files)

Johannes Löthberg demize at archlinux.org
Mon Jul 6 15:13:21 UTC 2020


    Date: Monday, July 6, 2020 @ 15:13:17
  Author: demize
Revision: 658033

archrelease: copy trunk to community-testing-any

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

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

Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 658032, elixir/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-07-06 15:13:17 UTC (rev 658033)
@@ -0,0 +1,35 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: Gilbert Kennen <gilbert firewatcher org>
+
+pkgname=elixir
+pkgver=1.10.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=('8518c78f43fe36315dbe0d623823c2c1b7a025c114f3f4adbb48e04ef63f1d9f')
+
+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
+}


More information about the arch-commits mailing list