[arch-commits] Commit in ruby-glib2/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Wed Apr 29 21:08:23 UTC 2015
Date: Wednesday, April 29, 2015 @ 23:08:23
Author: anatolik
Revision: 132535
upgpkg: ruby-glib2 2.2.5-1
Modified:
ruby-glib2/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-29 20:51:12 UTC (rev 132534)
+++ PKGBUILD 2015-04-29 21:08:23 UTC (rev 132535)
@@ -3,8 +3,8 @@
_gemname=glib2
pkgname=ruby-$_gemname
-pkgver=2.2.4
-pkgrel=4
+pkgver=2.2.5
+pkgrel=1
pkgdesc='Ruby/GLib2 is a Ruby binding of GLib-2.x.'
arch=(i686 x86_64)
url='http://ruby-gnome2.sourceforge.jp/'
@@ -11,21 +11,10 @@
license=(LGPL2.1)
depends=(ruby glib2 ruby-pkgconfig)
options=(!emptydirs)
-source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem
- 0001-glib2-support-GLib-2.44.patch)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
-sha1sums=('2387c5a151a7bb324de604234960cf4a6e2aa232'
- '54e83b3de30cfcf1f79232a98dc5ec1a1f1c116b')
+sha1sums=('c7e2cd6eb9f99218c274b04d4b1018d7717b5602')
-prepare() {
- gem unpack $_gemname-$pkgver.gem
- gem spec $_gemname-$pkgver.gem --ruby > $_gemname.gemspec
- cd $_gemname-$pkgver
- patch -p2 < ../0001-glib2-support-GLib-2.44.patch
- gem build ../$_gemname.gemspec
- mv $_gemname-$pkgver.gem ..
-}
-
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
More information about the arch-commits
mailing list