# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=krename pkgver=5.0.2 pkgrel=0 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://apps.kde.org/en/krename" pkgdesc="Utility to handle specialized file renames" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev ki18n-dev kiconthemes-dev kio-dev kitemviews-dev kjobwidgets-dev kjs-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev samurai " source="https://download.kde.org/stable/krename/$pkgver/src/krename-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" c065d6de90c43e5297db2773d8569279535b007d3b00b99a252329e78c90dc949678ecd2f2ecaa74e72394fa0e848b8774f6f387d4a7f367b367b1dd38405545 krename-5.0.2.tar.xz "