summaryrefslogtreecommitdiff
path: root/staging/kdebindings-qtruby
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-07 15:14:25 +0000
committerroot <root@rshg054.dnsready.net>2011-09-07 15:14:25 +0000
commit52442b30a60f3a0dc7bc0eb214d123d001987c83 (patch)
treeb4ba9af92ba3a77331f71b19dd46fb3964e79c19 /staging/kdebindings-qtruby
parent17f3e93f2d2e9d6b429c34a2c107ee4d0b7b3973 (diff)
Wed Sep 7 15:14:25 UTC 2011
Diffstat (limited to 'staging/kdebindings-qtruby')
-rw-r--r--staging/kdebindings-qtruby/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/staging/kdebindings-qtruby/PKGBUILD b/staging/kdebindings-qtruby/PKGBUILD
new file mode 100644
index 000000000..c4795a160
--- /dev/null
+++ b/staging/kdebindings-qtruby/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 137242 2011-09-06 21:24:23Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdebindings-qtruby
+pkgver=4.7.1
+pkgrel=1
+pkgdesc="Qt bindings for ruby"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kdebindings')
+depends=('kdebindings-smokeqt' 'ruby')
+makedepends=('cmake' 'automoc4' 'kdebindings-smokegen')
+conflicts=('kdebindings-ruby')
+source=("http://download.kde.org/stable/${pkgver}/src/qtruby-${pkgver}.tar.bz2")
+sha1sums=('a40e760ea16482885cbd061c95cec984af1ec4ac')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../qtruby-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}