void-packages/srcpkgs/krename/template

22 lines
822 B
Bash

# Template file for 'krename'
pkgname=krename
version=5.0.0
revision=5
# 5.0.0 FTBFS thus use a git revision which fixes the issue for now
_gitrev=93726f3d4e177816337beaf5c8872859ef33e9d8
wrksrc="${pkgname}-${_gitrev}"
build_style=cmake
hostmakedepends="extra-cmake-modules gettext kcoreaddons pkg-config"
makedepends="exiv2-devel freetype-devel kjs-devel kparts-devel libpodofo-devel
taglib-devel"
short_desc="Powerful batch renamer for KDE"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://userbase.kde.org/KRename"
distfiles="https://invent.kde.org/utilities/krename/-/archive/${_gitrev}/krename-${_gitrev}.tar.bz2"
checksum=6bc6ec6917b06948b0eba1636e5191ae2b9cb1de436382662290e925103281d4
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python qt5-host-tools qt5-qmake"
fi