diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 21:18:09 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 21:55:42 +0100 |
commit | 523839db61fcc680b258248482381596187418ec (patch) | |
tree | d0f933cd6be12e32c49c7a2d94e0e4366171e1ba /testing | |
parent | b9e0be7da41d0791705848df13e825120fad664f (diff) | |
download | aports-523839db61fcc680b258248482381596187418ec.tar.bz2 aports-523839db61fcc680b258248482381596187418ec.tar.xz |
testing/ruby-multi_json: move from unmaintained, take maintainership
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ruby-multi_json/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/ruby-multi_json/APKBUILD b/testing/ruby-multi_json/APKBUILD new file mode 100644 index 0000000000..4ddbf404d4 --- /dev/null +++ b/testing/ruby-multi_json/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +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" |