1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Compare commits

...

12 Commits

Author SHA1 Message Date
b95dfacb59 upgpkg: ruby-yajl-ruby 1.4.2-1
upstream release
2022-05-06 11:22:54 +02:00
cd86ab353c Add 'ruby-yajl-ruby/' from commit '4ff1a11b23b92f7788edbcbea8ae9551db36044c'
git-subtree-dir: ruby-yajl-ruby
git-subtree-mainline: b81893211c
git-subtree-split: 4ff1a11b23
2022-05-06 11:20:43 +02:00
4ff1a11b23 Make install path version agnostic. 2019-01-21 19:44:56 +01:00
31427d6a9c Allow armv7h architecture since it builds.
This patch shouldn't require a pkgrel bump since it doesn't require a
rebuild for existing architectures.
2018-07-30 10:48:09 +02:00
ac6545c496 Update to more recent version.
Also clean up PKGBUILD a bit:
- Use sha256 sums instead of sha512 since upstream supplies them
- Correctly specify arch, since this is a binary package.
- Fix LICENSE file path
- Remove annoying build artifact containing $pkgdir
2018-07-28 23:21:02 +02:00
Carsten Feuls
9bf18e255f Fix missing rdoc dependency 2018-02-07 19:51:33 +01:00
Carsten Feuls
2d8152a2f7 Update to 1.3.1 2018-02-07 11:35:07 +01:00
Carsten Feuls
d06bbbf206 Merge 2017-02-16 19:33:05 +01:00
Carsten Feuls
d9c46a7c16 Update to 1.3.0 2017-02-16 19:32:19 +01:00
Carsten Feuls
24e64ff8fd Update to 1.3.0 2017-02-14 16:54:44 +01:00
Carsten Feuls
4d483c0069 Update Package 2016-02-22 01:03:31 +01:00
Artem Vorotnikov
50ea02baed Initial import 2015-06-14 05:12:57 +03:00
3 changed files with 46 additions and 0 deletions

17
ruby-yajl-ruby/.SRCINFO Normal file
View File

@@ -0,0 +1,17 @@
pkgbase = ruby-yajl-ruby
pkgdesc = Ruby C bindings to the excellent Yajl JSON stream-based parser library.
pkgver = 1.4.2
pkgrel = 1
url = http://github.com/brianmario/yajl-ruby
arch = x86_64
arch = i686
arch = armv7h
license = MIT
depends = ruby
depends = ruby-rdoc
noextract = yajl-ruby-1.4.2.gem
options = !emptydirs
source = https://rubygems.org/downloads/yajl-ruby-1.4.2.gem
sha256sums = 8228a1de1b53e346de619c5dcb0ed2ac82cc4c9ca6b0a41fc5bae98ee2c7cc51
pkgname = ruby-yajl-ruby

4
ruby-yajl-ruby/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*
!.gitignore
!PKGBUILD
!.SRCINFO

25
ruby-yajl-ruby/PKGBUILD Normal file
View File

@@ -0,0 +1,25 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
# Contributor: Carsten Feuls <archlinux@carstenfeuls.de>
_gemname=yajl-ruby
pkgname=ruby-$_gemname
pkgver=1.4.2
pkgrel=1
pkgdesc='Ruby C bindings to the excellent Yajl JSON stream-based parser library.'
arch=('x86_64' 'i686' 'armv7h')
url='http://github.com/brianmario/yajl-ruby'
license=('MIT')
depends=('ruby' 'ruby-rdoc')
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
sha256sums=('8228a1de1b53e346de619c5dcb0ed2ac82cc4c9ca6b0a41fc5bae98ee2c7cc51')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
# This file has an annoying path to reproduce, just use find
find "$pkgdir/$_gemdir" -name gem_make.out -delete
install -D -m644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}