blob: a1a2f607136c048868e613b13d2dcdf2be69b429 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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' 'mips64el')
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:
|