archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kopeninghours / repos / testing-x86_64 / PKGBUILD
blobd8669f303b940d03fb0662f756d1bc34c87709a9
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kopeninghours
4 pkgver=21.12.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 boost qt5-tools doxygen)
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=('07fb3adc3cccedf50397c79882d3a2202915c8f052e1e2cd90c7a95e15a218dc'
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