From f58e361776f7398d806321ea9d63f59f5fc38b5d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 29 Apr 2016 08:06:55 +0000 Subject: move community/ruby-* to unmaintained --- unmaintained/ruby-mini_portile2/APKBUILD | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 unmaintained/ruby-mini_portile2/APKBUILD (limited to 'unmaintained/ruby-mini_portile2') diff --git a/unmaintained/ruby-mini_portile2/APKBUILD b/unmaintained/ruby-mini_portile2/APKBUILD new file mode 100644 index 0000000000..3b9849000e --- /dev/null +++ b/unmaintained/ruby-mini_portile2/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Seung Soo Mun +# Maintainer: Kaarle Ritvanen +_gemname=mini_portile2 +pkgname=ruby-$_gemname +pkgver=2.0.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" + +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="e608463ac8081fe600f7bb6ea46c3e64 mini_portile2-2.0.0.gem" +sha256sums="147d9f63e3dceb4da9e2036a93b9a6d45b12668c55abe0696f70925aeccacd14 mini_portile2-2.0.0.gem" +sha512sums="70f4f6ee33b4d2265736a2bdfcb885dff59e967018450f7d3eb6b73aa983db7636036f8610a5734697d01db7db9173278063ae42942459eba460ad27252720ae mini_portile2-2.0.0.gem" -- cgit v1.2.3