diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:11:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | 80acbaee801184140fac0c967cbb8aa051db2b06 (patch) | |
tree | 77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-pry | |
parent | 5db5ee5c13e577e862e822501b2e4863fbd63195 (diff) | |
download | aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2 aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz |
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-pry')
-rw-r--r-- | unmaintained/ruby-pry/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/ruby-pry/APKBUILD b/unmaintained/ruby-pry/APKBUILD new file mode 100644 index 0000000000..92dff57fc0 --- /dev/null +++ b/unmaintained/ruby-pry/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +_gemname=pry +pkgname=ruby-pry +pkgver=0.10.3 +pkgrel=0 +pkgdesc="An IRB alternative and runtime developer console" +url="https://github.com/pry/pry/releases" +arch="noarch" +license="MIT" +depends="ruby" +depends_dev="" +makedepends="$depends_dev ruby-dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/pry/pry/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$_gemname-$pkgver + +build() { + mkdir -p "$_builddir" || return 1 + export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ + --ignore-dependencies \ + --verbose \ + --no-rdoc \ + --no-ri \ + || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +package() { + mkdir -p "$pkgdir" || return 1 + cp -ra "$_builddir"/* "$pkgdir"/ || return 1 + install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} +md5sums="4f5b952197415d46e21b13a99bfd0193 ruby-pry-0.10.3.tar.gz" +sha256sums="55760dd7ead762deda51a2acb5340e41d15056eb590c8ea03e46482e59cdde87 ruby-pry-0.10.3.tar.gz" +sha512sums="5efec76414e6acf6e1f26f39296087a29a72b65b3fc365ad4ebd610b25d109253f2d325fe91508c8bd6eca67bdfe812b74dba8cf687a0fc4e0a5f9f6f6a93c7e ruby-pry-0.10.3.tar.gz" |