archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kmime / repos / kde-unstable-x86_64 / PKGBUILD
blobe6c5a3acc738656c754ffb75eb5f25904bdefa9d
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kmime
4 pkgver=23.03.90
5 pkgrel=1
6 pkgdesc='Library for handling mail messages and newsgroup articles'
7 arch=(x86_64)
8 url='https://kontact.kde.org'
9 license=(LGPL)
10 depends=(ki18n kcodecs)
11 makedepends=(extra-cmake-modules doxygen qt5-tools)
12 source=(https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
13         fix-qch-install.patch)
14 sha256sums=('51f05e70c132f17c52700605739c9974170d745c8461bfe7d44117a5cddb049e'
15             'SKIP'
16             '8e5149c54bddcba90aa2a02cc80accafea593a396169e934796bf1d60e97e6d0')
17 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
18               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
19               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
21 prepare() {
22   patch -d $pkgname-$pkgver -p1 < fix-qch-install.patch
25 build() {
26   cmake -B build -S $pkgname-$pkgver \
27     -DBUILD_TESTING=OFF \
28     -DBUILD_QCH=ON
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build