diff options
Diffstat (limited to 'testing/elixir/APKBUILD')
-rw-r--r-- | testing/elixir/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/elixir/APKBUILD b/testing/elixir/APKBUILD new file mode 100644 index 0000000000..fb7ad5ffb6 --- /dev/null +++ b/testing/elixir/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com> +pkgname=elixir +pkgver=1.0.3 +pkgrel=0 +pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications" +url="http://elixir-lang.org" +arch="noarch" +license="ASL 2.0" +depends="erlang erlang-crypto erlang-syntax-tools erlang-inets erlang-ssl + erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev" +makedepends="erlang-parsetools erlang-eunit erlang-tools" +source="https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz + fix_system_cmd_test.patch" + +_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" + make test || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 +} + +md5sums="a7f44d73f5325fc8600044552b5abeae v1.0.3.tar.gz +2b9b691105d748719521aa8f1711b19a fix_system_cmd_test.patch" +sha256sums="ec6c4eaffcb771d91bdea9fb274600c624fd16b1891d194b3fcb2b521f52cc75 v1.0.3.tar.gz +95e58ed3a81f1e10f5f63b9a8602c9b359e6c081e3fd5a6fa2bbb1a51b045300 fix_system_cmd_test.patch" +sha512sums="d48636c355181a633dfc5d256f9a1718d74137686080c965d2d568e3d9b0f5cc1352f2ed4d12e50bd89c4cfc9cd59e7a1112ae22979012845df0556124151d1e v1.0.3.tar.gz +adeb558291a0199778ee2d1a87173d2729645d9111840bdc386bde9c6659d05a6c6004fdb33e7495e3f7b92cc3e67a923bf4bf65fb914531ea7ef3618ae26ff6 fix_system_cmd_test.patch" |