aboutsummaryrefslogtreecommitdiffstats
path: root/community/elixir
diff options
context:
space:
mode:
authorMarlus Saraiva <marlus.saraiva@gmail.com>2016-07-11 23:51:22 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-12 08:30:36 +0200
commitb5220a999e0544b5666b133e6ba13a93293b8269 (patch)
treed1a59e140318a09f56eb7b05c2814e7946dd7cdf /community/elixir
parentbad74ac0e89c284997e600f1769d43a36b1f8e84 (diff)
downloadaports-b5220a999e0544b5666b133e6ba13a93293b8269.tar.bz2
aports-b5220a999e0544b5666b133e6ba13a93293b8269.tar.xz
community/elixir: upgrade to 1.3.1
Diffstat (limited to 'community/elixir')
-rw-r--r--community/elixir/APKBUILD25
1 files changed, 8 insertions, 17 deletions
diff --git a/community/elixir/APKBUILD b/community/elixir/APKBUILD
index 0c1fdcbd95..6f09fbc141 100644
--- a/community/elixir/APKBUILD
+++ b/community/elixir/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
pkgname=elixir
-pkgver=1.2.6
+pkgver=1.3.1
pkgrel=0
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="http://elixir-lang.org"
-arch="x86_64"
+arch="noarch"
license="ASL 2.0"
depends="erlang erlang-inets erlang-ssl
erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev"
@@ -13,28 +13,19 @@ makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit er
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
export LANG="en_US.UTF-8"
make -j1 || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
}
-md5sums="2f637bba4a3ae352a28754756aa0fcb5 elixir-1.2.6.tar.gz"
-sha256sums="2fd4ed9d7d8b4bd9f151cdaf6b39726d64d7cf756186a5c9454867514e5b0916 elixir-1.2.6.tar.gz"
-sha512sums="26016e7bf7b15194ce6236d6d44e530756ca9e9cf1d749f3bb77d7b0b3d0a3413034837d4cbd8410c3da8d87b7b751a36658c0544c8abbf92f269f6eaed9d7ac elixir-1.2.6.tar.gz"
+md5sums="427e6a74dcf37270dad9cbc323b0a8bb elixir-1.3.1.tar.gz"
+sha256sums="c4ab90a0d8d7ed4159dd6b7e1bcbcdbdb8c6177a35328d774fccf00346b4b42c elixir-1.3.1.tar.gz"
+sha512sums="9ded5d76743aa9b22c48e928b78c33908e037d74efbd8fef7d2cd19d6426a115cf34a4df4654406146be0a875408b015ebc0cc753f23e4a2fd832a74e7eb30b2 elixir-1.3.1.tar.gz"