void-packages/srcpkgs/okteta/template
2018-12-03 23:13:09 -02:00

34 lines
1.1 KiB
Bash

# Template file for 'okteta'
pkgname=okteta
reverts="4.14.3_1"
version=0.25.4
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="extra-cmake-modules 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"
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://www.kde.org/applications/utilities/okteta/"
distfiles="${KDE_SITE}/okteta/${version}/src/okteta-${version}.tar.xz"
checksum=ae2a72d0162184278d1c0e0a73b52751a0181deede0231a4c9d568bb7ac82a52
pre_check() {
#this one requires xserver running
sed -i /parts/d build/CTestTestfile.cmake
}
okteta-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}