# Contributor: Carlo Landmeter # Contributor: Leo # Contributor: Dominika Liberda # Maintainer: Sascha Paunovic pkgname=arc-theme pkgver=20221218 pkgrel=0 pkgdesc="Flat theme with transparent elements" options="!check" # no test suite url="https://github.com/jnsh/arc-theme" arch="noarch" license="GPL-3.0-or-later" makedepends="glib-dev sassc meson" subpackages=" arc:arc:noarch arc-cinnamon:arc_cinnamon arc-gnome:arc_gnome arc-gtk2:arc_gtk2 arc-gtk3:arc_gtk3 arc-gtk4:arc_gtk4 arc-metacity:arc_metacity arc-xfwm:arc_xfwm arc-lighter-gtk2:lighter_gtk2 arc-lighter-gtk3:lighter_gtk3 arc-lighter-gtk4:lighter_gtk4 arc-lighter-metacity:lighter_metacity arc-lighter-xfwm:lighter_xfwm arc-lighter:lighter arc-dark-cinnamon:dark_cinnamon arc-dark-gnome:dark_gnome arc-dark-gtk2:dark_gtk2 arc-dark-gtk3:dark_gtk3 arc-dark-gtk4:dark_gtk4 arc-dark-metacity:dark_metacity arc-dark-xfwm:dark_xfwm arc-dark:dark arc-darker-gtk2:darker_gtk2 arc-darker-gtk3:darker_gtk3 arc-darker-gtk4:darker_gtk4 arc-darker-metacity:darker_metacity arc-darker-xfwm:darker_xfwm arc-darker:darker " source="https://github.com/jnsh/arc-theme/releases/download/$pkgver/arc-theme-$pkgver.tar.xz" build() { abuild-meson -Dcinnamon_version=5.6 \ -Dgnome_shell_version=43 \ -Dthemes=cinnamon,gnome-shell,gtk2,gtk3,gtk4,metacity,xfwm \ . build meson compile -C build } package() { DESTDIR="$pkgdir" meson install -C build } arc() { pkgdesc="Arc GTK Theme" depends="" amove usr/share/themes/Arc/index.theme } arc_cinnamon() { pkgdesc="Cinnamon assets for Arc" depends="" install_if="arc=$pkgver-r$pkgrel cinnamon-desktop" amove usr/share/themes/Arc/cinnamon } arc_gtk4() { pkgdesc="GTK+4.0 assets for Arc" depends="" install_if="arc=$pkgver-r$pkgrel gtk4.0" amove usr/share/themes/Arc/gtk-4.0 } arc_gtk3() { pkgdesc="GTK+3.0 assets for Arc" depends="" install_if="arc=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Arc/gtk-3.0 } arc_gtk2() { pkgdesc="GTK+2.0 assets for Arc" depends="gtk-murrine-engine" install_if="arc=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Arc/gtk-2.0 } arc_gnome() { pkgdesc="GNOME Shell assets for Arc" depends="" install_if="arc=$pkgver-r$pkgrel gnome-shell" amove usr/share/themes/Arc/gnome-shell } arc_xfwm() { pkgdesc="xfwm assets for Arc" depends="" install_if="arc=$pkgver-r$pkgrel xfwm4" amove usr/share/themes/Arc/xfwm4 } arc_metacity() { pkgdesc="metacity assets for Arc" depends="" install_if="arc=$pkgver-r$pkgrel metacity" amove usr/share/themes/Arc/metacity-1 } lighter() { pkgdesc="Lighter version of Arc" depends="" amove usr/share/themes/Arc-Lighter/index.theme } lighter_gtk4() { pkgdesc="GTK+4.0 assets for Lighter version of Arc" depends="" install_if="arc-lighter=$pkgver-r$pkgrel gtk4.0" amove usr/share/themes/Arc-Lighter/gtk-4.0 } lighter_gtk3() { pkgdesc="GTK+3.0 assets for Lighter version of Arc" depends="" install_if="arc-lighter=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Arc-Lighter/gtk-3.0 } lighter_gtk2() { pkgdesc="GTK+2.0 assets for Lighter version of Arc" depends="gtk-murrine-engine" install_if="arc-lighter=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Arc-Lighter/gtk-2.0 } lighter_gnome() { pkgdesc="GNOME Shell assets for Lighter version of Arc" depends="" install_if="arc-lighter=$pkgver-r$pkgrel gnome-shell" amove usr/share/themes/Arc-Lighter/gnome-shell } lighter_xfwm() { pkgdesc="xfwm assets for Lighter version of Arc" depends="" install_if="arc-lighter=$pkgver-r$pkgrel xfwm4" amove usr/share/themes/Arc-Lighter/xfwm4 } lighter_metacity() { pkgdesc="metacity assets for Lighter version of Arc" depends="" install_if="arc-lighter=$pkgver-r$pkgrel metacity" amove usr/share/themes/Arc-Lighter/metacity-1 } dark() { pkgdesc="Dark version of Arc" depends="" amove usr/share/themes/Arc-Dark/index.theme } dark_cinnamon() { pkgdesc="Cinnamon assets for Dark version of Arc" depends="" install_if="arc-dark=$pkgver-r$pkgrel cinnamon-desktop" amove usr/share/themes/Arc-Dark/cinnamon } dark_gtk4() { pkgdesc="GTK+4.0 assets for Dark version of Arc" depends="" install_if="arc-dark=$pkgver-r$pkgrel gtk4.0" amove usr/share/themes/Arc-Dark/gtk-4.0 } dark_gtk3() { pkgdesc="GTK+3.0 assets for Dark version of Arc" depends="" install_if="arc-dark=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Arc-Dark/gtk-3.0 } dark_gtk2() { pkgdesc="GTK+2.0 assets for Dark version of Arc" depends="gtk-murrine-engine" install_if="arc-dark=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Arc-Dark/gtk-2.0 } dark_gnome() { pkgdesc="GNOME Shell assets for Dark version of Arc" depends="" install_if="arc-dark=$pkgver-r$pkgrel gnome-shell" amove usr/share/themes/Arc-Dark/gnome-shell } dark_xfwm() { pkgdesc="xfwm assets for Dark version of Arc" depends="" install_if="arc-dark=$pkgver-r$pkgrel xfwm4" amove usr/share/themes/Arc-Dark/xfwm4 } dark_metacity() { pkgdesc="metacity assets for Dark version of Arc" depends="" install_if="arc-dark=$pkgver-r$pkgrel metacity" amove usr/share/themes/Arc-Dark/metacity-1 } darker() { pkgdesc="Darker version of Arc" depends="" amove usr/share/themes/Arc-Darker/index.theme } darker_gtk4() { pkgdesc="GTK+4.0 assets for Darker version of Arc" depends="" install_if="arc-darker=$pkgver-r$pkgrel gtk4.0" amove usr/share/themes/Arc-Darker/gtk-4.0 } darker_gtk3() { pkgdesc="GTK+3.0 assets for Darker version of Arc" depends="" install_if="arc-darker=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Arc-Darker/gtk-3.0 } darker_gtk2() { pkgdesc="GTK+2.0 assets for Darker version of Arc" depends="gtk-murrine-engine" install_if="arc-darker=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Arc-Darker/gtk-2.0 } darker_xfwm() { pkgdesc="xfwm assets for Darker version of Arc" depends="" install_if="arc-darker=$pkgver-r$pkgrel xfwm4" amove usr/share/themes/Arc-Darker/xfwm4 } darker_metacity() { pkgdesc="metacity assets for Darker version of Arc" depends="" install_if="arc-darker=$pkgver-r$pkgrel xfwm4" amove usr/share/themes/Arc-Darker/metacity-1 } sha512sums=" 5a84b717de022c673c6af260381542365550f629f43ae99c7ab8b22b4c09024403a1bc06279b40d3560e86d9810683c2e8337799a4cc67ef7aeb93223b5f56a1 arc-theme-20221218.tar.xz "