2013-12-18 02:36:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2011-07-23 02:02:15 +08:00
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=kdebindings-qtruby
|
|
|
|
_pkgname=qtruby
|
|
|
|
pkgver=${_kdever}
|
2014-01-11 20:59:04 +08:00
|
|
|
pkgrel=3
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgdesc="Qt bindings for ruby"
|
|
|
|
url="http://kde.org/"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
|
|
depends=("kdebindings-smokeqt>=${_kdever}" "ruby")
|
2012-02-06 04:46:15 +08:00
|
|
|
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
|
2012-03-30 09:11:15 +08:00
|
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
2014-01-11 20:59:04 +08:00
|
|
|
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
2011-07-23 02:02:15 +08:00
|
|
|
conflicts=('kdebindings-common')
|
|
|
|
groups=("kde" "kdebindings" "kde-uninstall")
|
|
|
|
provides=('qtruby')
|
2013-07-24 08:15:53 +08:00
|
|
|
options=('docs' '!header' 'debug' 'log')
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
build() {
|
2011-07-23 02:02:15 +08:00
|
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
|
|
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
2012-02-06 04:46:15 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
2013-06-18 06:47:36 +08:00
|
|
|
make
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
package() {
|
2011-07-23 02:02:15 +08:00
|
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
|
|
|
|
}
|
2014-01-12 20:19:36 +08:00
|
|
|
sha256sums=('7b3f0dc291b51bc3cea9e63c78a08fa243149df949dab47e85c9f92b737aa2a1')
|