mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Include global configuration
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=kdebindings-qyoto
|
|
_pkgname=qyoto
|
|
pkgver=${_kdever}
|
|
pkgrel=3
|
|
pkgdesc=".NET/Mono bindings for the Qt libraries"
|
|
url="http://kde.org/"
|
|
arch=('x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=("kdebindings-smokeqt>=${_kdever}" "mono")
|
|
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
|
|
conflicts=('kdebindings-common')
|
|
groups=("kde" "kdebindings" "kde-uninstall")
|
|
provides=('qyoto')
|
|
options=('docs' '!header' 'debug' 'log')
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
|
|
"kde_bug_339977.patch")
|
|
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`
|
|
'c3fb8d4722b94a3f319bf303a56f232e578b5d568225068ce01f605e870052d5')
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}/qdbus"
|
|
patch -p2 < ${srcdir}/kde_bug_339977.patch
|
|
}
|
|
|
|
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
|
|
}
|