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

Johannes Löthberg demize at archlinux.org
Tue Dec 19 20:08:58 UTC 2017


    Date: Tuesday, December 19, 2017 @ 20:08:57
  Author: demize
Revision: 274923

archrelease: copy trunk to community-testing-any

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

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

Copied: elixir/repos/community-testing-any/PKGBUILD (from rev 274922, elixir/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2017-12-19 20:08:57 UTC (rev 274923)
@@ -0,0 +1,33 @@
+# $Id$
+# 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.5.3
+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=('0fc6024b6027d87af9609b416448fd65d8927e0d05fc02410b35f4b9b9eb9629')
+
+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