archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kexi / trunk / PKGBUILD
blobbf1c17657905102377400f7ee44cc93cba109348
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kexi
4 pkgver=3.2.0
5 pkgrel=4
6 pkgdesc='A visual database applications creator'
7 arch=(x86_64)
8 url='https://apps.kde.org/es/kexi-3.3/'
9 license=(GPL2)
10 depends=(kdb kreport ktexteditor breeze-icons hicolor-icon-theme)
11 makedepends=(extra-cmake-modules qt5-tools kdoctools mariadb-libs postgresql doxygen)
12 source=(https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz{,.sig}
13         kexi-qt-5.13.patch::https://invent.kde.org/office/kexi/-/commit/511d99b7.patch
14         kexi-glib-2.70.patch::https://invent.kde.org/office/kexi/-/commit/79894e15.patch)
15 sha256sums=('7a813f9ea815a09c1e733d0e7dc879c64eee85f075389e87e6aab99cf0c1c1ff'
16             'SKIP'
17             'f4c1bffdc9b057e65e78f890f026c31fec6bf667d3d0c86abcbe4d853ac8c5f6'
18             '5c6ae076d366097fa2e90aee5dd14e8cbed76e191cdad39e45fbf78648f00d64')
19 validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # JarosÅ‚aw Staniek <staniek@kde.org>
21 prepare() {
22   patch -d $pkgname-$pkgver -p1 < kexi-qt-5.13.patch # Fix build with Qt 5.13
23   patch -d $pkgname-$pkgver -p1 < kexi-glib-2.70.patch # Fix build with glib 2.70
26 build() {
27   cmake -B build -S $pkgname-$pkgver \
28     -DBUILD_TESTING=OFF
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build