mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
31 lines
800 B
Bash
31 lines
800 B
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname="kqtquickcharts"
|
|
arch=('x86_64')
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="The core Nepomuk system"
|
|
url="https://projects.kde.org/projects/kde/kdeedu/kqtquickcharts"
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
options=('docs' '!header' 'debug' 'log')
|
|
depends=("kdelibs>=${_libsver}")
|
|
makedepends=('cmake' 'automoc4' 'doxygen')
|
|
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
rm -rf build
|
|
mkdir -p build && cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=${_build_type} \
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|