summaryrefslogtreecommitdiff
path: root/extra/kdebindings-qtruby
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdebindings-qtruby')
-rw-r--r--extra/kdebindings-qtruby/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/kdebindings-qtruby/PKGBUILD b/extra/kdebindings-qtruby/PKGBUILD
index eb803726d..20c71429c 100644
--- a/extra/kdebindings-qtruby/PKGBUILD
+++ b/extra/kdebindings-qtruby/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 161111 2012-06-08 06:35:00Z andrea $
+# $Id: PKGBUILD 164855 2012-08-06 23:14:14Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdebindings-qtruby
-pkgver=4.8.4
+pkgver=4.9.0
pkgrel=1
-pkgdesc="Qt bindings for ruby"
-url="http://kde.org/"
+pkgdesc="Ruby bindings for the Qt libraries"
+url="https://projects.kde.org/projects/kde/kdebindings/ruby/qtruby"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
@@ -13,7 +13,7 @@ depends=('kdebindings-smokeqt' 'ruby')
makedepends=('cmake' 'automoc4' 'kdebindings-smokegen')
conflicts=('kdebindings-ruby')
source=("http://download.kde.org/stable/${pkgver}/src/qtruby-${pkgver}.tar.xz")
-sha1sums=('ce9f9b45d7e9edc839257a1f1c53b1e699503b47')
+sha1sums=('04146719f7e6e2001a1f2318b5a45d47f58ac0b3')
build() {
cd "${srcdir}"
@@ -22,7 +22,8 @@ build() {
cmake ../qtruby-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCUSTOM_RUBY_SITE_LIB_DIR=`ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]'`
+ -DCUSTOM_RUBY_SITE_LIB_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]') \
+ -DCUSTOM_RUBY_SITE_ARCH_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]')
make
}