db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / kopeninghours / trunk / PKGBUILD
blob37b7d07e313cae6c7b9d119343201df9c21d586b
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kopeninghours
4 pkgver=23.04.0
5 pkgrel=2
6 pkgdesc='Library for parsing and evaluating OSM opening hours expressions'
7 arch=(x86_64)
8 url='https://www.kde.org'
9 license=(LGPL)
10 depends=(kholidays ki18n)
11 makedepends=(extra-cmake-modules python qt5-tools doxygen boost)
12 optdepends=('boost-libs: Python bindings' 'python: Python bindings')
13 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
14 sha256sums=('bb14267928794a1e3f977bca1853bb99ce6030087fd36de2c38bfcdbe7cafa6f'
15             'SKIP')
16 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
17               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
18               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
20 build() {
21   cmake -B build -S $pkgname-$pkgver \
22     -DBUILD_TESTING=OFF \
23     -DBUILD_QCH=ON
24   cmake --build build
27 package() {
28   DESTDIR="$pkgdir" cmake --install build