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

Johannes Löthberg demize at archlinux.org
Tue Sep 17 01:42:56 UTC 2019


    Date: Tuesday, September 17, 2019 @ 01:42:55
  Author: demize
Revision: 510964

archrelease: copy trunk to community-testing-any

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

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

Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 510963, elixir/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-09-17 01:42:55 UTC (rev 510964)
@@ -0,0 +1,32 @@
+# 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.9.1
+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=('94daa716abbd4493405fb2032514195077ac7bc73dc2999922f13c7d8ea58777')
+
+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
+}


More information about the arch-commits mailing list