void-packages/srcpkgs/breeze-icons/template

40 lines
985 B
Bash

# Template file for 'breeze-icons'
pkgname=breeze-icons
version=6.7.0
revision=1
build_style=cmake
build_helper=qemu
hostmakedepends="kcoreaddons extra-cmake-modules qt6-base qt6-tools
python3-lxml libxml2"
makedepends="qt6-base-devel"
checkdepends="fdupes"
short_desc="Breeze icon theme"
maintainer="John <me@johnnynator.dev>"
license="LGPL-3.0-or-later"
homepage="https://community.kde.org/Frameworks"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=39037e3fcbbb7a65011685c498cae31ff496a5f2493269c955bb29c94a688b74
nostrip=yes
if [ -z "$CROSS_BUILD" ]; then
configure_args="-DBINARY_ICONS_RESOURCE=ON"
else
configure_args="-DBINARY_ICONS_RESOURCE=OFF"
fi
libbreeze-icons_package() {
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libbreeze-icons-devel_package() {
depends="libbreeze-icons>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}