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-multi_json | |
parent | 966bc7207f72795a226a704782b524c2b2fbefb3 (diff) | |
download | aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.bz2 aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.xz |
move main/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-multi_json')
-rw-r--r-- | unmaintained/ruby-multi_json/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
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 <ncopa@alpinelinux.org> +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" |