diff options
author | Sarwo Hadi Setyana | 2015-08-21 10:27:23 +0700 |
---|---|---|
committer | Sarwo Hadi Setyana | 2015-08-21 10:27:23 +0700 |
commit | 0ebffc1bb7e35438faccb24d446d236fa690d8fb (patch) | |
tree | b4d2f91016803777c7fafd211bf2bfd315893ef7 | |
download | aur-0ebffc1bb7e35438faccb24d446d236fa690d8fb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..97daa7996aa3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ruby-libil + pkgdesc = Library for converting string to 'Basa Walikan Jogja and Malang' + pkgver = 0.1.3 + pkgrel = 1 + url = http://github.com/lynxluna/libil + arch = any + license = MIT + depends = ruby + noextract = libil-0.1.3.gem + options = !emptydirs + source = https://rubygems.org/downloads/libil-0.1.3.gem + sha1sums = af4ca591a195a33eb3ea81f0793c03414a10c731 + +pkgname = ruby-libil + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..309466e8213b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Generated by gem2arch (https://github.com/anatol/gem2arch) +# Maintainer: Sarwo Hadi Setyana <sh.setyana@gmail.com> + +_gemname=libil +pkgname=ruby-$_gemname +pkgver=0.1.3 +pkgrel=1 +pkgdesc='Library for converting string to '\''Basa Walikan Jogja and Malang'\''' +arch=(any) +url='http://github.com/lynxluna/libil' +license=(MIT) +depends=(ruby) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('af4ca591a195a33eb3ea81f0793c03414a10c731') + +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" +} |