diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-27 14:20:00 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-27 16:28:25 +0200 |
commit | e4bd596e7e0b34127344e3740d749da71403413a (patch) | |
tree | 7253f993bf93a9093d22b8e2a2ceb00cd078a7bf /testing | |
parent | f1c1b7843ac95e3a42b2c22e49827f4e615777b5 (diff) | |
download | aports-e4bd596e7e0b34127344e3740d749da71403413a.tar.bz2 aports-e4bd596e7e0b34127344e3740d749da71403413a.tar.xz |
testing/ruby-mini_portile: new aport
Simplistic port-like solution for developers
http://rubygems.org/gems/mini_portile
Diffstat (limited to 'testing')
-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" |