diff options
author | fauno <fauno@endefensadelsl.org> | 2017-04-25 17:47:10 -0300 |
---|---|---|
committer | fauno <fauno@endefensadelsl.org> | 2017-04-25 17:47:10 -0300 |
commit | c8217633f8a10bbe4e3cb2acf070410480903dac (patch) | |
tree | 6acd5233dc0de32376c423bc8d271ad6405a33e9 /libre/ruby | |
parent | 5cbf1531919146b830221b76a40f7a00abf26991 (diff) | |
download | abslibre-c8217633f8a10bbe4e3cb2acf070410480903dac.tar.gz abslibre-c8217633f8a10bbe4e3cb2acf070410480903dac.tar.bz2 abslibre-c8217633f8a10bbe4e3cb2acf070410480903dac.zip |
ruby: 2.4.1
Diffstat (limited to 'libre/ruby')
-rw-r--r-- | libre/ruby/PKGBUILD | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/libre/ruby/PKGBUILD b/libre/ruby/PKGBUILD index 532578395..20f05d82e 100644 --- a/libre/ruby/PKGBUILD +++ b/libre/ruby/PKGBUILD @@ -3,45 +3,51 @@ # Contributor (Arch): John Proctor <jproctor@prium.net> # Contributor (Arch): Jeramy Rutley <jrutley@gmail.com> # Maintainer: Daniel Milewski <niitotantei@riseup.net> -# Maintainer: André Silva <emulatorman@parabola.nu> +# Contributor: André Silva <emulatorman@parabola.nu> +# Maintainer: fauno <fauno@parabola.nu> pkgname=(ruby ruby-docs) -pkgver=2.4.0 +pkgver=2.4.1 _jsonver=1.8.1 pkgrel=1.parabola1 arch=(i686 x86_64 armv7h) url='http://www.ruby-lang.org/en/' -license=(BSD custom) +license=(custom:BSDL custom:Ruby) makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk) options=(!emptydirs) -mksource=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz - https://github.com/flori/json/archive/v${_jsonver}.tar.gz) +mksource=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz + https://github.com/flori/json/archive/v${_jsonver}.tar.gz + remove-nonfree-json-references.patch + remove-nonfree-ruby-references.patch + json-${_jsonver}.gem) source=(https://repo.parabola.nu/other/ruby-libre/ruby-libre-${pkgver}.tar.xz - json-${_jsonver}.gem - remove-nonfree-json-references.patch - remove-nonfree-ruby-references.patch gemrc) -mksha1sums=('038804bbd0e77508dd2510b729a9f3b325489b2e' - '043ed2df4b0ce2174c9c020ffcb4ec31f9fde560') -sha1sums=('3e57270b244017d78bf7adc00718bee80734a1cc' - '2cd288d00c5211e4c9d9338080b30af65cbb143a' - '0ba1010a271e6fcc1734f7382b99963f46133ea5' - 'b016c04b5b9b6c8db57859d4c9765b325fe96ef1' - 'dc536754c8fac2c3d82965c5a708cd8f79562d98') +mksha512sums=('e6fd290b6edd166348b70f0f1c56f7ed9d956c4c1eb91d97d0548041ca4196b9b75ec1ad35c745bdbfd4de195899093e7205d7f02b014ecf1c48e6f31cf25903' + '58906415c3f9a573950fe9c0606f808c8b9b1198ac08cd995fbec03ab1e315a5cff504245958a303dabf0e0fb3466abfd35f3c3b536161f805f1abccc9f5ccb6' + '3e3e2d48522fea84855e5305e08e7f8cc2ec7a2643c8882bc0a260c821ccdb16e70590d7ceec916d0d09297486b3c5bb6a1b4b31f670ec4ede72a429255db317' + 'fbb204bfbd1866b03f6e57b4d260fa8a62de9391d340ba081e8bf017b25f848b229ae54bedc2d4adff78e0195da400319aa3bf42716f1e67135895d436e7bdae' + '59ce07837a3e522f0afdeee7084ef159dde8dce881060895f20c0efb9795f2b2675695671a0ebf93609d860a1d13bbf381fb101084f2ea07de06a058ecb75b7f') +sha512sums=('d6db642c8091ce40300591b9eb82d58558b58465f20adc34dbed43f0c462122b17087640c47af2ee7c566c7b0407c39a4100606aaad45849b7d3d767adeff8f2' + '8cafd14d414ee3c16aa94f79072bc6c100262f925dc1300e785846c3fabbbbffc1356b8e2223af5684e3340c55032d41231179ffa948bb12e01dbae0f4131911') mksource() { rm -rv ruby-${pkgver}/ext/json rm -rv ruby-${pkgver}/test/json rm -rv json-${_jsonver}/ext -} -prepare() { cd ruby-${pkgver} install -D -m644 ${srcdir}/json-${_jsonver}.gem gems patch -Np1 -i ${srcdir}/remove-nonfree-ruby-references.patch + # extract the gem. if it isn't extract like the other bundled gems, + # the gem dir will be created with u-w permissions for some reason. + install -d -m 755 gems/json-${_jsonver} + cd gems/json-${_jsonver} + bsdtar xqOf ../json-${_jsonver}.gem data.tar.gz \ + | bsdtar xvzf - + cd ${srcdir}/json-${_jsonver} patch -Np1 -i ${srcdir}/remove-nonfree-json-references.patch |