[arch-commits] Commit in (ruby-pg ruby-pg/repos ruby-pg/trunk ruby-pg/trunk/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Dec 31 22:07:47 UTC 2016


    Date: Saturday, December 31, 2016 @ 22:07:46
  Author: anthraxx
Revision: 203401

addpkg: ruby-pg 0.19.0-1

Added:
  ruby-pg/
  ruby-pg/repos/
  ruby-pg/trunk/
  ruby-pg/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Added: ruby-pg/trunk/PKGBUILD
===================================================================
--- ruby-pg/trunk/PKGBUILD	                        (rev 0)
+++ ruby-pg/trunk/PKGBUILD	2016-12-31 22:07:46 UTC (rev 203401)
@@ -0,0 +1,24 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Niels Abspoel <aboe76 (at) Gmail.com>
+
+_gemname=pg
+pkgname=ruby-pg
+pkgver=0.19.0
+pkgrel=1
+pkgdesc='Pg is the Ruby interface to the Postgresql RDBMS'
+url='https://bitbucket.org/ged/ruby-pg'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('ruby' 'ruby-rspec-core' 'postgresql-libs')
+options=('!emptydirs')
+source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
+noextract=(${_gemname}-${pkgver}.gem)
+sha512sums=('e72843d9056cad3998959a37a2abf460a047be734e64e6101a5c9067b7a284b94e25ef410e55444e1a60f88184f26982be851fc25a851b3144a8ed041248d9d4')
+
+package() {
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" pg-${pkgver}.gem
+  find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list