void-packages/srcpkgs/dtkwm/template

32 lines
941 B
Bash
Raw Normal View History

2018-02-17 00:33:23 +01:00
# Template file for 'dtkwm'
pkgname=dtkwm
2018-07-21 00:07:08 +02:00
version=2.0.9
2018-02-17 00:33:23 +01:00
revision=1
build_style=qmake
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"
2018-07-21 00:07:08 +02:00
checksum=5abe3da16d4b719ae34c83262e634c1d26151eeb70d7cc5b48719ea631361398
2018-02-17 00:33:23 +01:00
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
}
}