desktop/kdgantt2/PKGBUILD

33 lines
682 B
Bash
Raw Normal View History

2016-03-29 03:54:44 +08:00
# 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
}