desktop/kdebindings-smokeqt/PKGBUILD
2012-03-30 01:11:15 +00:00

41 lines
1.1 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#
# package info
#
pkgname=kdebindings-smokeqt
_pkgname=smokeqt
pkgver=${_kdever}
pkgrel=1
pkgdesc="Language independent library for Qt bindings"
url="http://kde.org/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kde-runtime>=${_kdever}" 'qimageblitz' 'qscintilla' 'qwt')
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
groups=("kde" "kdebindings" "kde-uninstall")
provides=('smokeqt')
options=('docs' '!splithdr' 'splitdbg' 'log')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}