diff options
Diffstat (limited to 'testing/ruby-mini_portile')
-rw-r--r-- | testing/ruby-mini_portile/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/ruby-mini_portile/APKBUILD b/testing/ruby-mini_portile/APKBUILD new file mode 100644 index 0000000000..6212472fd5 --- /dev/null +++ b/testing/ruby-mini_portile/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Seung Soo Mun <hamletmun@gmail.com> +# Maintainer: +_gemname=mini_portile +pkgname=ruby-$_gemname +pkgver=0.6.0 +pkgrel=0 +pkgdesc="Simplistic port-like solution for developers" +url="http://rubygems.org/gems/$_gemname" +arch="noarch" +license="MIT" +depends="ruby" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_realname-$pkgver + +build() { + return 0 +} + +package() { + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + local _geminstdir=$_gemdir/gems/$_gemname-$pkgver + mkdir -p "$pkgdir" || return 1 + + gem install --local --install-dir "$pkgdir"/$_gemdir \ + --ignore-dependencies --verbose --no-rdoc --no-ri \ + "$srcdir"/$_gemname-$pkgver.gem || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +md5sums="1cf0ec521938cf589da760432f31cfdc mini_portile-0.6.0.gem" +sha256sums="762b3e241362de24b2eb2bb1b98638399b931e9e51bece5f8e2df7611eb16c26 mini_portile-0.6.0.gem" +sha512sums="36bc82f872aca0bc4a42f4498610b62782857841afd6528fc6bdb0881624c758e7854fa0995e263daea6266ede594b213c41f452da9bbd15b27d69e19050deff mini_portile-0.6.0.gem" |