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-abn | |
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-abn')
-rw-r--r-- | unmaintained/ruby-abn/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/ruby-abn/APKBUILD b/unmaintained/ruby-abn/APKBUILD new file mode 100644 index 0000000000..4adf2bc2dd --- /dev/null +++ b/unmaintained/ruby-abn/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +_gemname=abn +pkgname=ruby-$_gemname +pkgver=2.0.0 +pkgrel=1 +pkgdesc="A small library for working with Australian Business Numbers" +url="http://rubygems.org/gems/abn" +arch="noarch" +license="MIT" +depends="ruby" +depends_dev="ruby-dev" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_gemname-$pkgver +build() { + mkdir -p "$_builddir" || return 1 + local _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 +} + +md5sums="028de258f4027e7f8af27010070390fe abn-2.0.0.gem" +sha256sums="8938ec55432e74e6a19dab9cf18b81379f15f72b3c461a058a97053a92d4ec9a abn-2.0.0.gem" +sha512sums="869a8ee9b73e587a6438014691ac112603c08aca26230b3e5912b8ab9e486c6087362f717aafe2715b29759c115ed164e4fcae3374bc420756c8a44e249e5094 abn-2.0.0.gem" |