void-packages/srcpkgs/gnome-themes-extra/template

34 lines
1.1 KiB
Bash

# Template file for 'gnome-themes-extra'
pkgname=gnome-themes-extra
version=3.28
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config intltool librsvg-utils glib-devel which
gtk-update-icon-cache"
makedepends="gtk+-devel gtk+3-devel librsvg-devel"
depends="cantarell-fonts adwaita-icon-theme>=${version}"
short_desc="Extra GNOME themes"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-themes-extra"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819
gnome-themes-extra-gtk_package() {
short_desc+=" - for GTK+2.0"
depends="${sourcepkg}>=${version}_${revision}"
lib32disabled=yes
pkg_install() {
vmove usr/lib/gtk-2.0
vmove usr/share/themes/Adwaita/gtk-2.0
vmove usr/share/themes/Adwaita-dark/gtk-2.0
vmove usr/share/themes/HighContrast/gtk-2.0
}
}
gnome-themes-standard_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="gnome-themes-extra-gtk-${version}_${revision}"
}