void-packages/srcpkgs/qt5ct/template

24 lines
637 B
Bash

# Template file for 'qt5ct'
pkgname=qt5ct
version=1.1
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-tools"
makedepends="qt5-devel"
depends="qt5-svg"
short_desc="Qt5 Configuration Tool"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="BSD-2-Clause"
homepage="https://sourceforge.net/projects/qt5ct/"
distfiles="${SOURCEFORGE_SITE}/project/qt5ct/qt5ct-${version}.tar.bz2"
checksum=af77c4dbf7f9ba97fe0218648167395bca7bcb2b9c1886a9c98b1e343127ddd2
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_install() {
vlicense COPYING
vinstall ${FILESDIR}/qt5ct.sh 644 etc/profile.d
}