mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
682 B
Bash
33 lines
682 B
Bash
|
# Include global configuration
|
||
|
source ../kdeapps.conf
|
||
|
|
||
|
pkgname=kdgantt2
|
||
|
pkgver=${_kdever}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Library providing gantt support"
|
||
|
arch=('x86_64')
|
||
|
url='https://github.com/KDE/incidenceeditor'
|
||
|
license=('LGPL')
|
||
|
depends=(qt5-base)
|
||
|
makedepends=('extra-cmake-modules' 'ki18n')
|
||
|
conflicts=('libkdepim<16')
|
||
|
groups=(kde kde-applications kde-uninstall)
|
||
|
options=('docs' 'debug')
|
||
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||
|
sha256sums=(`grep " ${pkgname}-${_kdever}.tar.xz" ../checksums.txt | cut -d " " -f1`)
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake_kf5 ../${pkgname}-${pkgver}
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|