void-packages/srcpkgs/breeze-icons/template

40 lines
985 B
Bash

# Template file for 'breeze-icons'
pkgname=breeze-icons
version=6.6.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=2d8ccc427ec864b6417eabe3aafe9b1f6857bf2a4fdcd0dc5c006413148e66d9
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"
}
}