diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-18 15:50:42 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-18 16:26:13 +0100 |
commit | cdf9ed33d5ef3a46b2ab03bc102d3af901f17531 (patch) | |
tree | 6e0f1c5d59bb2a02155f422ea8198cc02cc049d1 /community | |
parent | 24f49e24b45e9d9c07a145db641b90244a4d7dda (diff) | |
download | aports-cdf9ed33d5ef3a46b2ab03bc102d3af901f17531.tar.bz2 aports-cdf9ed33d5ef3a46b2ab03bc102d3af901f17531.tar.xz |
community/ruby-mini_portile2: new aport
Diffstat (limited to 'community')
-rw-r--r-- | community/ruby-mini_portile2/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/ruby-mini_portile2/APKBUILD b/community/ruby-mini_portile2/APKBUILD new file mode 100644 index 0000000000..3b9849000e --- /dev/null +++ b/community/ruby-mini_portile2/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Seung Soo Mun <hamletmun@gmail.com> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_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" |