From b951abfe754edd478b0a17f12cad5fb56e42eee1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 29 Apr 2016 08:04:05 +0000 Subject: move main/ruby-* to unmaintained --- unmaintained/ruby-multi_json/APKBUILD | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 unmaintained/ruby-multi_json/APKBUILD (limited to 'unmaintained/ruby-multi_json') diff --git a/unmaintained/ruby-multi_json/APKBUILD b/unmaintained/ruby-multi_json/APKBUILD new file mode 100644 index 0000000000..151d67ffe7 --- /dev/null +++ b/unmaintained/ruby-multi_json/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Natanael Copa +pkgname=ruby-multi_json +_gemname=multi_json +pkgver=1.11.0 +pkgrel=0 +pkgdesc="A gem to provide easy switching between different JSON backends" +url="http://rubygems.org/gems/multi_json" +arch="noarch" +license="custom" +depends="ruby ghostscript-fonts" +depends_dev="ruby-dev" +makedepends="$depends_dev ruby" +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="d9b22b25fd249e2b075cbac2ece6625b multi_json-1.11.0.gem" +sha256sums="b43f3e049cf24e29402e580de816ce1b68e941d180c866879b0b4176c285e3d5 multi_json-1.11.0.gem" +sha512sums="1fed36187753c03b9c77b1f75b4bbeb48d1b91a89888fa76c1179096028a8d71bc5468de440e13a35ffea7883045caa7100a2323c11646ba010355c51462066d multi_json-1.11.0.gem" -- cgit v1.2.3