diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ruby-iconv | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 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: |