summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:53:51 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:53:51 +0000
commitd7b4cdef0d1b0d56848785d6d200962d05a4f9c6 (patch)
treed879823e1c4ca63d1880a244a4cac9d3b94f101a /user
parent507cfde0847515e7529b110e69ef2322a5cf37f4 (diff)
parent437ac8e459e4534057c191318bf782c598390ac0 (diff)
downloadpackages-d7b4cdef0d1b0d56848785d6d200962d05a4f9c6.tar.gz
packages-d7b4cdef0d1b0d56848785d6d200962d05a4f9c6.tar.bz2
packages-d7b4cdef0d1b0d56848785d6d200962d05a4f9c6.tar.xz
packages-d7b4cdef0d1b0d56848785d6d200962d05a4f9c6.zip
Merge branch 'user/elixir' into 'master'
user/elixir: adapt from Alpine See merge request adelie/packages!443
Diffstat (limited to 'user')
-rw-r--r--user/elixir/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/elixir/APKBUILD b/user/elixir/APKBUILD
new file mode 100644
index 000000000..e23466f18
--- /dev/null
+++ b/user/elixir/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Daniel Isaksen <d@duniel.no>
+# Contributor: Marlus Saraiva <marlus.saraiva@gmail.com>
+# Maintainer: Lee Starnes <lee@canned-death.us>
+pkgname=elixir
+pkgver=1.10.3
+pkgrel=0
+pkgdesc="Dynamic, functional language designed for building scalable and maintainable applications"
+url="https://elixir-lang.org/"
+arch="noarch"
+license="Apache-2.0"
+depends="erlang"
+makedepends="erlang-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+}
+
+sha512sums="66b18b983e5374afbd4d94c43a880c5e46a9aa150fa6f38be74ff7f58a19eaaee00248b202d9ae3f6b78e2495fc8d5cec755de644256a731be367766c3812855 elixir-1.10.3.tar.gz"