# Contributor: Francesco Colista # Maintainer: Francesco Colista setvar _gemname = 'unf_ext' setvar pkgname = "ruby-$_gemname" setvar pkgver = '0.0.7.1' setvar pkgrel = '1' setvar pkgdesc = ""Unicode Normalization Form support library for CRuby"" setvar arch = ""all"" setvar url = ""https://github.com/knu/ruby-unf_ext"" setvar license = ""MIT"" setvar depends = ""ruby"" setvar makedepends = ""ruby-dev"" setvar source = ""https://rubygems.org/downloads/$_gemname-$pkgver.gem"" setvar _builddir = ""$srcdir"/$_gemname-$pkgver" proc build { mkdir -p $_builddir || return 1 export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ --ignore-dependencies \ --verbose \ --no-rdoc \ --no-ri \ || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths } proc package { mkdir -p $pkgdir || return 1 cp -ra "$_builddir"/* "$pkgdir"/ || return 1 install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } setvar md5sums = ""39bfbb9e124410f57a97d1837f02d42a unf_ext-0.0.7.1.gem"" setvar sha256sums = ""ab58d1a808d38872817bea89fc3f055bfc250af48d9653425e35c7c18caec253 unf_ext-0.0.7.1.gem"" setvar sha512sums = ""06239dc5870ad0f345266b12ad6ed9508ab731dfd37b450d0e1eae1ef8e8301f8ad1ef7fffbbcf69b56b0af5aa257ea279dda3a252bdf397d11949e9885db3d4 unf_ext-0.0.7.1.gem""