void-packages/srcpkgs/qxkb/template

20 lines
642 B
Bash

# Template file for 'qxkb'
pkgname=qxkb
version=0.5.1
revision=1
_githash=d7474a06055108c833bbb55b6cdef47e0edfb17d
wrksrc="${pkgname}-${_githash}"
build_style=cmake
makedepends="qt5-devel libxkbfile-devel qt5-svg-devel qt5-x11extras-devel
qt5-tools-devel"
short_desc="Qt based keyboard layout switcher"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/disels/qxkb"
distfiles="https://github.com/disels/qxkb/archive/${_githash}.tar.gz"
checksum=b6adb516dc5dd7f1966160cada981cc8ddc5ddfb22a4b038cc05eccb81d36f8a
if [ "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi