[arch-commits] Commit in ruby-pg/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Jan 3 08:14:31 UTC 2018
Date: Wednesday, January 3, 2018 @ 08:14:30
Author: foutrelis
Revision: 278063
archrelease: copy trunk to community-staging-x86_64
Added:
ruby-pg/repos/community-staging-x86_64/
ruby-pg/repos/community-staging-x86_64/PKGBUILD
(from rev 278062, ruby-pg/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: ruby-pg/repos/community-staging-x86_64/PKGBUILD (from rev 278062, ruby-pg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-01-03 08:14:30 UTC (rev 278063)
@@ -0,0 +1,25 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Niels Abspoel <aboe76 (at) Gmail.com>
+
+_gemname=pg
+pkgname=ruby-pg
+pkgver=0.21.0
+pkgrel=2
+pkgdesc='Pg is the Ruby interface to the Postgresql RDBMS'
+url='https://bitbucket.org/ged/ruby-pg'
+arch=('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)
+sha256sums=('10b7cc05782236fb840c247a4ecb859f4b77001416774e1646c911c6b1567003')
+sha512sums=('590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b')
+
+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