aboutsummaryrefslogtreecommitdiffstats
path: root/community/krename/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/krename/APKBUILD')
-rw-r--r--community/krename/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/krename/APKBUILD b/community/krename/APKBUILD
new file mode 100644
index 0000000000..8b0fd4fe44
--- /dev/null
+++ b/community/krename/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=krename
+pkgver=5.0.1
+pkgrel=0
+# armhf blocked by extra-cmake-modules
+# s390x blocked by kio-dev
+arch="all !armhf !s390x !mips64"
+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
+ "
+source="https://download.kde.org/stable/krename/$pkgver/src/krename-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -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="1e8b17d9b8396354da131132fb6add24c6620ac39ab7ea5954391358369a4749f83df040e8425c74442ec143d1f07b322e592e5744f80eeef4b961d72f9dd379 krename-5.0.1.tar.xz"