void-packages/srcpkgs/okteta5/template

30 lines
1016 B
Bash
Raw Normal View History

2017-12-02 18:11:59 +01:00
# Template file for 'okteta5'
pkgname=okteta5
version=17.08.3
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=9b846724ddd595c97a9ced9b7d86224217bab695eaf51b39684e486a6b7940ff
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
}
}