void-packages/srcpkgs/okteta/template

35 lines
1.1 KiB
Bash

# Template file for 'okteta'
pkgname=okteta
reverts="4.14.3_1"
version=0.26.5
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext python qt5-qmake qt5-host-tools
kdoctools kconfig kcoreaddons kparts"
makedepends="qt5-devel qt5-script-devel qca-qt5-devel kbookmarks-devel
kcodecs-devel kcompletion-devel kconfigwidgets-devel kcrash-devel
kcmutils-devel knewstuff-devel kparts-devel"
checkdepends="AppStream"
short_desc="Hexadecimal editor for binary files"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://kde.org/applications/utilities/org.kde.okteta"
distfiles="${KDE_SITE}/okteta/${version}/src/okteta-${version}.tar.xz"
checksum=9fc7edfff73e7b0583af540b0c052f9221ca3f11ea3fc3604c2bcedb09c29a97
pre_check() {
export QT_QPA_PLATFORM=offscreen
}
okteta-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/lib/qt5/mkspecs
}
}