diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-26 10:10:32 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-26 11:18:11 +0200 |
commit | 7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879 (patch) | |
tree | 7778db110dfe49f84723d4bdff374a649c0a3d9c /main/ruby-mini_portile | |
parent | 3d0e8152811d813dd751ab8d55231b00f32beedd (diff) | |
download | aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.bz2 aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.xz |
main/ruby-rails: upgrade to 4.2.0
Diffstat (limited to 'main/ruby-mini_portile')
-rw-r--r-- | main/ruby-mini_portile/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-mini_portile/APKBUILD b/main/ruby-mini_portile/APKBUILD new file mode 100644 index 000000000..44b34ae36 --- /dev/null +++ b/main/ruby-mini_portile/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Seung Soo Mun <hamletmun@gmail.com> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_gemname=mini_portile +pkgname=ruby-$_gemname +pkgver=0.6.1 +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="8d34be7036a2f6b5844e952584280bc2 mini_portile-0.6.1.gem" +sha256sums="7434cd632cfcf6bfd680cd72bec9e17788b1d28d2f6d50504b5969822681ea1d mini_portile-0.6.1.gem" +sha512sums="25861b8c412d8b29e7f84392b7ce3f2f2e30871788ecdf59a32597e195d4432107120f0e3002c7029160b9be24276118722249f1ab17f6274d80d9ab2348ac5a mini_portile-0.6.1.gem" |