diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/erl-rebar/APKBUILD | 29 | ||||
-rw-r--r-- | user/erl-rebar3/APKBUILD | 33 | ||||
-rw-r--r-- | user/perl-bit-vector/APKBUILD | 30 | ||||
-rw-r--r-- | user/perl-carp-clan/APKBUILD | 29 | ||||
-rw-r--r-- | user/perl-class-accessor/APKBUILD | 30 | ||||
-rw-r--r-- | user/ruby-bundler/APKBUILD | 41 |
6 files changed, 192 insertions, 0 deletions
diff --git a/user/erl-rebar/APKBUILD b/user/erl-rebar/APKBUILD new file mode 100644 index 000000000..c4fe28bb2 --- /dev/null +++ b/user/erl-rebar/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Alyx Wolcott <alyx@leuhta.com> +pkgname=erl-rebar +pkgver=2.6.4 +pkgrel=0 +pkgdesc="Legacy Erlang build tool" +url="https://github.com/rebar/rebar" +arch="noarch" +license="Apache-2" +options="!tracedeps" +depends="erlang" +makedepends="erlang-dev" +source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/rebar/rebar/tar.gz/$pkgver" +builddir="$srcdir/rebar-$pkgver" + +build() { + ./bootstrap +} + +check() { + ./rebar -v eunit +} + +package() { + install -d -m755 $pkgdir/usr/bin/ + install -m755 ./rebar $pkgdir/usr/bin/ +} + +sha512sums="4e53d1ab7db296c60fb039443da7e3b31b63410fc614690c6faa7ec330d9e9393dbc1c8507aa4aea2c99397e1b443ff9d25e4d57ec57f616ee748aa97d055ffa erl-rebar-2.6.4.tar.gz" diff --git a/user/erl-rebar3/APKBUILD b/user/erl-rebar3/APKBUILD new file mode 100644 index 000000000..75cb671d5 --- /dev/null +++ b/user/erl-rebar3/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Alyx Wolcott <alyx@leuhta.com> +pkgname=erl-rebar3 +pkgver=3.11.1 +pkgrel=0 +pkgdesc="Erlang build tool" +url="http://www.rebar3.org/" +arch="all" +license="Apache-2" +options="!tracedeps" +depends="erlang" +makedepends="erlang-dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/erlang/rebar3/tar.gz/$pkgver" +builddir="$srcdir/rebar3-$pkgver" + +build() { + ./bootstrap +} + +check() { + ./rebar3 ct +} + +package() { + install -d -m755 $pkgdir/usr/bin/ + install -m755 ./rebar3 $pkgdir/usr/bin/ + gzip -c ./manpages/rebar3.1 > ./manpages/rebar3.1.gz + install -d -m755 $pkgdir/usr/share/man/man1/ + install -m644 ./manpages/rebar3.1.gz $pkgdir/usr/share/man/man1/ +} + +sha512sums="749368c8c19641d0c1083f1750438cfc5f1c75e284bd74b4f8ae368103e79a376f4bd91e85db35e1619116cd2f3b1a8dc2d3d89db19da8f4440e0b58d3c0a37c erl-rebar3-3.11.1.tar.gz" diff --git a/user/perl-bit-vector/APKBUILD b/user/perl-bit-vector/APKBUILD new file mode 100644 index 000000000..90dc9385a --- /dev/null +++ b/user/perl-bit-vector/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-bit-vector +pkgver=7.4 +pkgrel=0 +pkgdesc="Efficient bit vector, set of integers and 'big int' math library" +url="https://metacpan.org/release/Bit-Vector" +arch="all" +license="Artistic-1.0-Perl" +makedepends="perl-dev perl-carp-clan" +subpackages="$pkgname-doc" +#https://cpan.metacpan.org/authors/id/S/ST/STBEY/Bit-Vector-7.4.tar.gz +source="https://cpan.metacpan.org/authors/id/S/ST/STBEY/Bit-Vector-$pkgver.tar.gz" +builddir="$srcdir/Bit-Vector-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5 Bit-Vector-7.4.tar.gz" diff --git a/user/perl-carp-clan/APKBUILD b/user/perl-carp-clan/APKBUILD new file mode 100644 index 000000000..0a2586220 --- /dev/null +++ b/user/perl-carp-clan/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-carp-clan +pkgver=6.07 +pkgrel=0 +pkgdesc="Report modules as a 'clan' in Perl" +url="https://metacpan.org/pod/Carp::Clan" +arch="noarch" +license="Artistic-1.0-Perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Carp-Clan-$pkgver.tar.gz" +builddir="$srcdir/Carp-Clan-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="0180c2bd2ffe9f2b6c23d7e76bf3dd8ceeacfc842b09c2dab2f81d002ff7235ce2d145e53c55e375cb889291577cfcd4cb9be34b5445ae532cb9768979c57e41 Carp-Clan-6.07.tar.gz" diff --git a/user/perl-class-accessor/APKBUILD b/user/perl-class-accessor/APKBUILD new file mode 100644 index 000000000..6ea77357d --- /dev/null +++ b/user/perl-class-accessor/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-class-accessor +pkgver=0.51 +pkgrel=0 +pkgdesc="Perl class accessor generator" +url="https://metacpan.org/release/Class-Accessor" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-sub-name" +makedepends="perl-dev perl-module-install" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/K/KA/KASEI/Class-Accessor-$pkgver.tar.gz" +builddir="$srcdir/Class-Accessor-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="be11acea4747c59e3e524c75d818e0391756cbc08eebff71dca280e737ce228209e76310649298e536e07db1c856d5a71dd64aefc55b49e33cfcb2b3439eab0b Class-Accessor-0.51.tar.gz" diff --git a/user/ruby-bundler/APKBUILD b/user/ruby-bundler/APKBUILD new file mode 100644 index 000000000..d3c470b51 --- /dev/null +++ b/user/ruby-bundler/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Alyx Wolcott <alyx@leuhta.com> +_gemname=bundler +pkgname=ruby-$_gemname +pkgver=2.0.2 +pkgrel=0 +pkgdesc="Manage an application's gem dependencies" +url="https://bundler.io/" +arch="noarch" +license="MIT" +depends="ruby ruby-dev" +subpackages="$pkgname-doc" +options="!check" +source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" +builddir="$srcdir/$_gemname-$pkgver" + +package() { + local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')" + + gem install --local \ + --install-dir "$gemdir" \ + --bindir "$pkgdir/usr/bin" \ + --ignore-dependencies \ + --no-document \ + --verbose \ + "$srcdir"/$_gemname-$pkgver.gem + + local n; for n in 1 5; do + mkdir -p "$pkgdir"/usr/share/man/man$n + mv "$gemdir"/gems/$_gemname-$pkgver/man/*.$n "$pkgdir"/usr/share/man/man$n/ + done + + rm -rf "$gemdir"/cache \ + "$gemdir"/build_info \ + "$gemdir"/doc \ + "$gemdir"/gems/$_gemname-$pkgver/man \ + "$gemdir"/gems/$_gemname-$pkgver/*.md +} + + +sha512sums="f41fe9e385fbf42859f3514b71abdaa1fd787f4ff4b1169b8ee40ea7778c114657c60ca3d6d6d72fbe972af0558f0cccd9c9f28cad7fc712ada27f037dce8a6a bundler-2.0.2.gem" |