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

Eric Bélanger eric at archlinux.org
Mon Jul 5 21:35:46 EDT 2010


    Date: Monday, July 5, 2010 @ 21:35:46
  Author: eric
Revision: 84971

upgpkg: ruby 1.9.1_p429-1
Upstream update, Added license file to ruby-docs

Modified:
  ruby/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-06 01:19:17 UTC (rev 84970)
+++ PKGBUILD	2010-07-06 01:35:46 UTC (rev 84971)
@@ -4,26 +4,26 @@
 # Contributor: Jeramy Rutley <jrutley at gmail.com>
 
 pkgname=('ruby' 'ruby-docs')
-pkgver=1.9.1_p378
-_pkgver=1.9.1-p378
-pkgrel=2
+pkgver=1.9.1_p429
+_pkgver=1.9.1-p429
+pkgrel=1
 pkgdesc="An object-oriented language for quick and easy programming"
 arch=('i686' 'x86_64')
+url="http://www.ruby-lang.org/en/"
 license=('custom')
-url="http://www.ruby-lang.org/en/"
 makedepends=('gdbm' 'db' 'openssl' 'zlib' 'readline' 'tk')
+options=('!emptydirs')
 source=("ftp://ftp.ruby-lang.org/pub/ruby/1.9/${pkgname}-${_pkgver}.tar.bz2"
         'openssl-1.0.patch')
-options=('!emptydirs')
-md5sums=('5922459622a23612eb9b68a3586cb5f8'
-         'e22ebf0dbe836f5344682bc5da83dcb5')
+md5sums=('09df32ae51b6337f7a2e3b1909b26213' 'e22ebf0dbe836f5344682bc5da83dcb5')
+sha1sums=('66091777a43939b888fabafddeb659fe5ba0de0d' '17e2e2ebc3a610a1ad71df6de7a9d12f79de5d37')
 
 build() {
   cd "${srcdir}/${pkgname}-${_pkgver}"
   # see http://cvs.fedoraproject.org/viewvc/rpms/ruby/devel/
-  patch -p1 -i ${srcdir}/openssl-1.0.patch || return 1
-  ./configure --prefix=/usr --enable-shared --enable-pthread || return 1
-  make || return 1
+  patch -p1 -i "${srcdir}/openssl-1.0.patch"
+  ./configure --prefix=/usr --enable-shared --enable-pthread
+  make
 }
 
 package_ruby()
@@ -34,8 +34,8 @@
   optdepends=('tk: for Ruby/TK')
 
   cd "${srcdir}/${pkgname}-${_pkgver}"
-  make DESTDIR="${pkgdir}" install || return 1
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }
 
 package_ruby-docs()
@@ -45,5 +45,6 @@
   depends=('ruby')
 
   cd "${srcdir}/${pkgname}-${_pkgver}"
-  make -j1 DESTDIR="${pkgdir}" install-doc || return 1
+  make -j1 DESTDIR="${pkgdir}" install-doc
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/ruby-docs/COPYING"
 }



More information about the arch-commits mailing list