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

Initial import

This commit is contained in:
Artem Vorotnikov
2015-06-14 05:12:57 +03:00
commit 50ea02baed
2 changed files with 39 additions and 0 deletions

16
.SRCINFO Normal file
View File

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

23
PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
_gemname=yajl-ruby
pkgname=ruby-$_gemname
pkgver=1.2.1
pkgrel=1
pkgdesc='Ruby C bindings to the excellent Yajl JSON stream-based parser library.'
arch=(i686 x86_64)
url='http://github.com/brianmario/yajl-ruby'
license=(MIT)
depends=(ruby)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
sha512sums=('32722b7c8a8408752716654f91b50aad98fd24ef72438d69531553ece4f63ffd3f78d7745a9e053e297f2c4a96af7638eea6271893b586a6a01482f71ab27fe6')
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"
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/MIT-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE"
}