desktop/kdebindings-qtruby/PKGBUILD

38 lines
1.0 KiB
Bash
Raw Normal View History

2011-07-23 02:02:15 +08:00
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
2012-11-18 06:04:18 +08:00
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2011-07-23 02:02:15 +08:00
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-qtruby
_pkgname=qtruby
pkgver=${_kdever}
pkgrel=1
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")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
2012-03-30 09:11:15 +08:00
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
2011-07-23 02:02:15 +08:00
conflicts=('kdebindings-common')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('qtruby')
options=('docs' '!splithdr' 'splitdbg' 'log')
2011-07-23 02:02:15 +08:00
build() {
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${_pkgname}-${pkgver}
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
2011-07-23 02:02:15 +08:00
make
}
package() {
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}