void-packages/srcpkgs/dtkcore/template

33 lines
968 B
Bash
Raw Normal View History

2018-02-16 15:19:06 +00:00
# Template file for 'dtkcore'
pkgname=dtkcore
2018-07-20 22:07:31 +00:00
version=2.0.9
2018-02-16 15:19:06 +00:00
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"
2018-07-20 22:07:31 +00:00
checksum=b2732fd19d51f95a3b0b0ea6c719472dc5cf0158d7a01c8c5ed2fac0812f69b7
2018-02-16 15:19:06 +00:00
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
}
}