void-packages/srcpkgs/okteta5/template
John 0c090b4e66 okteta5: fix cross
Closes #14245.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-09 14:17:00 +02:00

30 lines
1 KiB
Bash

# Template file for 'okteta5'
pkgname=okteta5
version=17.12.1
revision=2
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
conflicts="okteta"
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, LGPL-2.1"
homepage="https://www.kde.org/applications/utilities/okteta/"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=44994eeb2f0536911ee73438d304e2055dfece661c09b341483952ccd8c2cae7
okteta5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}