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

Eric Bélanger eric at archlinux.org
Mon Oct 31 00:52:05 EDT 2011


    Date: Monday, October 31, 2011 @ 00:52:05
  Author: eric
Revision: 141568

upgpkg: ruby 1.9.3_p0-1

Upstream update, Update license, Add libyaml depends

Modified:
  ruby/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-31 04:25:14 UTC (rev 141567)
+++ PKGBUILD	2011-10-31 04:52:05 UTC (rev 141568)
@@ -6,34 +6,34 @@
 
 pkgbase=ruby
 pkgname=('ruby' 'ruby-docs')
-pkgver=1.9.2_p290
+pkgver=1.9.3_p0
 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')
-makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz')
+license=('BSD' 'custom')
+makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
 options=('!emptydirs' '!makeflags')
 source=(ftp://ftp.ruby-lang.org/pub/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver//_/-}.tar.bz2)
-md5sums=('096758c3e853b839dc980b183227b182')
-sha1sums=('8f25a74f50a10fdd9724e3c74ccd7bae596e198b')
+sha1sums=('f63c116411b981ef54c2caeefb9ccc4d71a5d2cf')
 
 build() {
   cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
-  ./configure --prefix=/usr --sysconfdir=/etc \
+  DOXYGEN=/usr/bin/doxygen PKG_CONFIG=/usr/bin/pkg-config ./configure --prefix=/usr --sysconfdir=/etc \
       --enable-shared --enable-pthread --disable-rpath
   make
 }
 
 package_ruby() {
-  depends=('openssl' 'libffi')
+  depends=('openssl' 'libffi' 'libyaml')
   provides=('rubygems' 'rake')
   conflicts=('rake')
   optdepends=('tk: for Ruby/TK')
 
   cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
   make DESTDIR="${pkgdir}" install-nodoc
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}/BSDL"
 }
 
 package_ruby-docs() {
@@ -41,5 +41,6 @@
 
   cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
   make DESTDIR="${pkgdir}" install-doc install-capi
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}/BSDL"
 }



More information about the arch-commits mailing list