void-packages/srcpkgs/okteta5/template

30 lines
1016 B
Bash

# Template file for 'okteta5'
pkgname=okteta5
version=17.12.1
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
conflicts="okteta"
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools"
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, LGPL-2.1"
homepage="https://www.kde.org/applications/utilities/okteta/"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=44994eeb2f0536911ee73438d304e2055dfece661c09b341483952ccd8c2cae7
nocross="qca-qt5-devel cmake files not suitable for crossbuild"
okteta5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}