diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-15 18:35:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-15 18:35:23 +0000 |
commit | 41fa217fc05b64b32af627884ca91366add3f8ef (patch) | |
tree | 95fdf3e61aca24caaf1154d9309b09314fbd6055 /community/elixir/APKBUILD | |
parent | 7179bd0190b978fe686e892bc65d2b204052e5d2 (diff) | |
download | aports-41fa217fc05b64b32af627884ca91366add3f8ef.tar.bz2 aports-41fa217fc05b64b32af627884ca91366add3f8ef.tar.xz |
community/elixir: move from main
Diffstat (limited to 'community/elixir/APKBUILD')
-rw-r--r-- | community/elixir/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/elixir/APKBUILD b/community/elixir/APKBUILD new file mode 100644 index 0000000000..d8d4f9a017 --- /dev/null +++ b/community/elixir/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com> + +pkgname=elixir +pkgver=1.1.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" +license="ASL 2.0" +depends="erlang erlang-inets erlang-ssl + erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev" +makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit erlang-tools" +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 +} + +build() { + cd "$_builddir" + export LANG="en_US.UTF-8" + make -j1 || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 +} + +md5sums="e952220c61fae06bdc59d7d0068d9f6d elixir-1.1.1.tar.gz" +sha256sums="3b7d6e4fdbcc82d19fa76f4e384f8a87535abcd00ef04528dc6b6706f32a106a elixir-1.1.1.tar.gz" +sha512sums="24b1ccf6877098cf5539607a13d4c408314c01b3bac8aaa9cfda59299113affd173cb29606f57110e44104095360ca81f084cceb561fc30e795c0d15d6140772 elixir-1.1.1.tar.gz" |