desktop/kjots/PKGBUILD
Neofytos Kolokotronis d69feee342 kjots: 5.0.1
2016-02-13 20:00:09 +01:00

39 lines
1.0 KiB
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/kjots
pkgname=kjots
pkgver=5.0.1
pkgrel=1
pkgdesc="Note taker"
arch=('x86_64')
url="https://www.kde.org/applications/utilities/kjots/"
screenshot="https://www.kde.org/images/screenshots/kjots.png"
license=('GPL')
depends=(kcmutils kontactinterface akonadi-client akonadi-notes kdelibs4support kpimtextedit hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools boost)
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
conflicts=(kdepim-kjots)
replaces=(kdepim-kjots)
provides=(kdepims-kjots)
install=$pkgname.install
md5sums=('edb0a82781dbb75d1fe69f2eb6f7cf28')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}