desktop/kdebindings-smokekde/PKGBUILD
2013-12-17 12:32:36 +00:00

41 lines
1.1 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-smokekde
_pkgname=smokekde
pkgver=${_kdever}
pkgrel=1
pkgdesc="Language independent library for KDE bindings"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-smokeqt>=${_kdever}" "kdepimlibs>=${_kdever}" "soprano>=2.8.0")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "kdegraphics-okular>=${_kdever}" "kdesdk-kate>=${_kdever}")
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
replaces=('kdebindings-common')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('smokekde')
options=('docs' '!header' 'debug' 'log')
build() {
cd "${srcdir}"
rm -rf build
mkdir build
cd build
cmake ../smokekde-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}