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

Levente Polyak anthraxx at archlinux.org
Sat Dec 31 19:59:59 UTC 2016


    Date: Saturday, December 31, 2016 @ 19:59:59
  Author: anthraxx
Revision: 203397

upgpkg: ruby-paint 2.0.0-2

Modified:
  ruby-paint/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-31 19:59:35 UTC (rev 203396)
+++ PKGBUILD	2016-12-31 19:59:59 UTC (rev 203397)
@@ -4,7 +4,7 @@
 _gemname=paint
 pkgname=ruby-${_gemname}
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Ruby paint manages terminal colors and effects'
 url='https://github.com/janlelis/paint'
 arch=('any')
@@ -14,6 +14,11 @@
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/janlelis/paint/archive/v${pkgver}.tar.gz)
 sha512sums=('3a30635b193fcd2d929a09f64226fefdf01dabf3c33427ca28d8d5a550d56642c8069d5f1334d845977282a6083cdfa16177f3bd23560f61c36d3822c891c5fe')
 
+prepare() {
+  cd ${_gemname}-${pkgver}
+  sed -r 's|~>|>=|g' -i paint.gemspec # don't give a fuck about rubys bla bla
+}
+
 build() {
   cd ${_gemname}-${pkgver}
   gem build paint.gemspec



More information about the arch-commits mailing list