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

Thomas Dziedzic td123 at nymeria.archlinux.org
Wed Jan 8 07:07:54 UTC 2014


    Date: Wednesday, January 8, 2014 @ 08:07:53
  Author: td123
Revision: 203334

upgpkg: ruby 2.1.0-1

bump

Modified:
  ruby/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-08 06:47:23 UTC (rev 203333)
+++ PKGBUILD	2014-01-08 07:07:53 UTC (rev 203334)
@@ -4,7 +4,7 @@
 # Contributor: Jeramy Rutley <jrutley at gmail.com>
 
 pkgname=('ruby' 'ruby-docs')
-pkgver=2.0.0_p353
+pkgver=2.1.0
 pkgrel=1
 arch=('i686' 'x86_64')
 url='http://www.ruby-lang.org/en/'
@@ -11,13 +11,13 @@
 license=('BSD' 'custom')
 makedepends=('gdbm' 'openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
 options=('!emptydirs' '!makeflags' 'staticlibs')
-source=("http://cache.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2"
+source=("http://cache.ruby-lang.org/pub/ruby/ruby-${pkgver}.tar.bz2"
         'gemrc')
-md5sums=('20eb8f067d20f6b76b7e16cce2a85a55'
+md5sums=('1546eeb763ac7754365664be763a1e8f'
          '6fb8e7a09955e0f64be3158fb4a27e7a')
 
 build() {
-  cd ruby-${pkgver//_/-}
+  cd ruby-${pkgver}
 
   PKG_CONFIG=/usr/bin/pkg-config ./configure \
     --prefix=/usr \
@@ -30,7 +30,7 @@
 }
 
 check() {
-  cd ruby-${pkgver//_/-}
+  cd ruby-${pkgver}
 
   make test
 }
@@ -45,7 +45,7 @@
   backup=('etc/gemrc')
   install='ruby.install'
 
-  cd ruby-${pkgver//_/-}
+  cd ruby-${pkgver}
 
   make DESTDIR="${pkgdir}" install-nodoc
 
@@ -58,7 +58,7 @@
 package_ruby-docs() {
   pkgdesc='Documentation files for ruby'
 
-  cd ruby-${pkgver//_/-}
+  cd ruby-${pkgver}
 
   make DESTDIR="${pkgdir}" install-doc install-capi
 




More information about the arch-commits mailing list