pkgname=kdegraphics-mobipocket pkgver=24.04.80 pkgrel=1 pkgdesc="A library to handle mobipocket files" arch=('x86_64') url="https://apps.kde.org/es/kdegraphics_mobipocket" license=('GPL-2.0-or-later' 'LGPL-2.0-or-later') depends=('gcc-libs' 'glibc' 'qt6-qt5compat' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'cmake' 'ninja') source=(https://download.kde.org/unstable/release-service/${pkgver}/src/${pkgname}-${pkgver}.tar.xz) sha256sums=(1aab0d65a7f0c2d552a6321bcef73a05ad58349b04f1bf70b6477ba97cdeca1d) build() { cd ${pkgname}-${pkgver} cmake -G Ninja -B flarebird-build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 \ -Wno-dev cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }