summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD22
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b284fc4fe3d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ruby-cfpropertylist
+ pkgdesc = A module to read, write and manipulate property lists as defined by Apple.
+ pkgver = 2.2.8
+ pkgrel = 2
+ url = http://github.com/ckruse/CFPropertyList/
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = libxml-ruby
+ noextract = CFPropertyList-2.2.8.gem
+ source = http://rubygems.org/downloads/CFPropertyList-2.2.8.gem
+ sha512sums = 7444839ae3cd75a3c7526fb1798aabd548acc2d6a5143f18aa3a83cee479f4f8905846ae52ef1299ac0054f3f166c701c09678443271cc6cbb1654eac3002e3f
+
+pkgname = ruby-cfpropertylist
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..04f547045da
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>
+
+pkgname=ruby-cfpropertylist
+_gemname=CFPropertyList
+pkgver=2.2.8
+pkgrel=2
+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=('7444839ae3cd75a3c7526fb1798aabd548acc2d6a5143f18aa3a83cee479f4f8905846ae52ef1299ac0054f3f166c701c09678443271cc6cbb1654eac3002e3f')
+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
+
+}