Date: Saturday, March 8, 2014 @ 09:33:39 Author: andrea Revision: 207181
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64 Added: kdebindings-qtruby/repos/kde-unstable-i686/ kdebindings-qtruby/repos/kde-unstable-i686/PKGBUILD (from rev 207180, kdebindings-qtruby/kde-unstable/PKGBUILD) kdebindings-qtruby/repos/kde-unstable-x86_64/ kdebindings-qtruby/repos/kde-unstable-x86_64/PKGBUILD (from rev 207180, kdebindings-qtruby/kde-unstable/PKGBUILD) ------------------------------+ kde-unstable-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ kde-unstable-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) Copied: kdebindings-qtruby/repos/kde-unstable-i686/PKGBUILD (from rev 207180, kdebindings-qtruby/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-i686/PKGBUILD (rev 0) +++ kde-unstable-i686/PKGBUILD 2014-03-08 08:33:39 UTC (rev 207181) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdebindings-qtruby +pkgver=4.12.80 +pkgrel=1 +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') +depends=('kdebindings-smokeqt' 'ruby') +makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') +conflicts=('kdebindings-ruby') +source=("http://download.kde.org/unstable/${pkgver}/src/qtruby-${pkgver}.tar.xz") +sha1sums=('f2999b9a15a5a71439741acd0cfa9fdef382a665') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../qtruby-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCUSTOM_RUBY_SITE_LIB_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]') \ + -DCUSTOM_RUBY_SITE_ARCH_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]') + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} Copied: kdebindings-qtruby/repos/kde-unstable-x86_64/PKGBUILD (from rev 207180, kdebindings-qtruby/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2014-03-08 08:33:39 UTC (rev 207181) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdebindings-qtruby +pkgver=4.12.80 +pkgrel=1 +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') +depends=('kdebindings-smokeqt' 'ruby') +makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') +conflicts=('kdebindings-ruby') +source=("http://download.kde.org/unstable/${pkgver}/src/qtruby-${pkgver}.tar.xz") +sha1sums=('f2999b9a15a5a71439741acd0cfa9fdef382a665') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../qtruby-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCUSTOM_RUBY_SITE_LIB_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]') \ + -DCUSTOM_RUBY_SITE_ARCH_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]') + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}