blob: 668f721d4f4129cbb8e5d3848a672290080f46f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>
pkgname=ruby-cfpropertylist
_gemname=CFPropertyList
pkgver=2.3.2
pkgrel=1
pkgdesc="A module to read, write and manipulate property lists as defined by Apple."
arch=('any')
url="http://github.com/ckruse/CFPropertyList/"
license=('MIT')
depends=('ruby' 'libxml-ruby')
source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
sha512sums=('64e7e75fc0828ecafa76ef7c63d2a1537121736e0371eea685997bd216bb5f9ab38505502976bbe60cf49271625af95f43bfbba7c3b477d5436e3327f291aa85')
noextract=(${_gemname}-${pkgver}.gem)
package() {
cd "${srcdir}"
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies \
-i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
}
|