diff options
author | root <root@rshg054.dnsready.net> | 2013-04-29 00:34:23 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-29 00:34:23 -0700 |
commit | bab69e0f720c6f189c4486b7b945079be23f0a4b (patch) | |
tree | 381ff8864fb51d2d7510c6cb1dc2bc8972b8de47 /community/ruby-iconv | |
parent | f38edbff3878008c8b2ae1ca8a496c349763017b (diff) |
Mon Apr 29 00:34:20 PDT 2013
Diffstat (limited to 'community/ruby-iconv')
-rwxr-xr-x | community/ruby-iconv/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/ruby-iconv/PKGBUILD b/community/ruby-iconv/PKGBUILD new file mode 100755 index 000000000..d2b60d9ac --- /dev/null +++ b/community/ruby-iconv/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 89242 2013-04-28 10:01:07Z alucryd $ +# Maintainer: Alucryd <alucryd at gmail dot com> + +pkgname=ruby-iconv +pkgver=1.0.3 +pkgrel=2 +pkgdesc="Wrapper library for iconv" +arch=('i686' 'x86_64') +url="https://github.com/nurse/iconv" +license=('GPL3') +depends=('ruby') +makedepends=('rubygems') +options=('!emptydirs') +source=("https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem") +sha256sums=('94a9b62a56c96226b62b787cd45fdc48c03f4517f1e36e64db113b010fb012da') + +package() { + cd "${srcdir}" + + local _gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i "${pkgdir}"${_gemdir} ${pkgname#*-}-${pkgver}.gem +} + +# vim: ts=2 sw=2 et: |