void-packages/srcpkgs/dtkcore/template
2018-07-29 15:03:31 -03:00

32 lines
968 B
Bash

# Template file for 'dtkcore'
pkgname=dtkcore
version=2.0.9
revision=1
build_style=qmake
configure_args="LIB_INSTALL_DIR=/usr/lib/"
hostmakedepends="qt5-qmake pkg-config"
makedepends="qt5-devel gsettings-qt-devel"
short_desc="Base devlopment tool of all C++/Qt work on Deepin"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/dtkcore"
changelog="https://github.com/linuxdeepin/dtkcore/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/dtkcore/archive/${version}.tar.gz"
checksum=b2732fd19d51f95a3b0b0ea6c719472dc5cf0158d7a01c8c5ed2fac0812f69b7
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-devel gsettings-qt-devel"
fi
dtkcore-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/pkgconfig
vmove usr/lib/dtk2
vmove usr/lib/cmake
}
}