desktop/kjots/PKGBUILD

39 lines
1020 B
Bash
Raw Normal View History

2016-02-14 03:00:09 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/kjots
2016-01-28 03:19:07 +08:00
pkgname=kjots
2016-12-19 21:42:47 +08:00
pkgver=5.0.2
2016-01-28 03:19:07 +08:00
pkgrel=1
pkgdesc="Note taker"
arch=('x86_64')
2016-02-14 03:00:09 +08:00
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)
2016-12-19 21:42:47 +08:00
source=("http://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
2016-02-14 03:00:09 +08:00
conflicts=(kdepim-kjots)
replaces=(kdepim-kjots)
provides=(kdepims-kjots)
install=$pkgname.install
2016-12-19 21:42:47 +08:00
md5sums=('296136e9860142596235d6d3f2c523e8')
2016-01-28 03:19:07 +08:00
prepare() {
mkdir -p build
}
build() {
2016-02-14 03:00:09 +08:00
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
2016-01-28 03:19:07 +08:00
make
}
package() {
cd build
2016-02-14 03:00:09 +08:00
make DESTDIR="$pkgdir" install
2016-01-28 03:19:07 +08:00
}