diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:04:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | b951abfe754edd478b0a17f12cad5fb56e42eee1 (patch) | |
tree | e71d1359aad8863964935b6d374f6e97b715dbde /unmaintained/ruby-mini_portile | |
parent | 966bc7207f72795a226a704782b524c2b2fbefb3 (diff) | |
download | aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.bz2 aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.xz |
move main/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-mini_portile')
-rw-r--r-- | unmaintained/ruby-mini_portile/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-mini_portile/APKBUILD b/unmaintained/ruby-mini_portile/APKBUILD new file mode 100644 index 0000000000..fac7cba0e5 --- /dev/null +++ b/unmaintained/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.2 +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="281cc0d974d3810d1195ad4a863ba5b6 mini_portile-0.6.2.gem" +sha256sums="5c60cd85db3df6b279e9a6807954c596dc0ced359a10fcd9b49969a6aa8d7d40 mini_portile-0.6.2.gem" +sha512sums="fd6ce49b5db291e8216f001e4a3bd14d69a920d6d457de7566f7526abf616dad3ec86d4951ab4b881ffd185b4d4e02e64eb2ae494cd9a1275e342b78afa4e2bc mini_portile-0.6.2.gem" |