desktop/kdebindings-kimono/PKGBUILD

37 lines
1.1 KiB
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-kimono
_pkgname=kimono
pkgver=${_kdever}
pkgrel=2
pkgdesc=".NET/Mono bindings for the KDE libraries"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-qyoto>=${_kdever}" "kdebindings-smokekde>=${_kdever}")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "boost" "kdepimlibs")
conflicts=('kdebindings-csharp')
replaces=('kdebindings-csharp')
provides=('kdebindings-csharp' 'kimono')
groups=("kde" "kdebindings" "kde-uninstall")
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
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
}