void-packages/srcpkgs/dtkwm/template

33 lines
978 B
Bash

# Template file for 'dtkwm'
pkgname=dtkwm
version=2.0.11
revision=1
build_style=qmake
configure_args="VERSION=${version}"
hostmakedepends="qt5-qmake pkg-config"
makedepends="qt5-devel qt5-x11extras-devel qt5-multimedia-devel xcb-util-devel
dtkcore-devel"
short_desc="Deepin graphical user interface library"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/dtkwm/"
changelog="https://github.com/linuxdeepin/dtkwm/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/dtkwm/archive/${version}.tar.gz"
checksum=1f1524ac82f0b5a0690965a9d474d773627ffe6645f78f971069bf123e5fe613
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" dtkcore-devel qt5-x11extras-devel"
fi
dtkwm-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/qt5
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
}
}