Commit 120bbc6f authored by Leo's avatar Leo

testing/plata-theme: remove

parent 1c1aef18
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=plata-theme
pkgver=0.9.9
pkgrel=2
pkgdesc="Gtk theme based on Material Design Refresh"
url="https://gitlab.com/tista500/plata-theme"
arch="noarch !s390x"
license="CC-BY-SA-4.0 AND GPL-2.0-or-later"
makedepends="
automake
autoconf
libtool
glib-dev
libxml2
sassc
inkscape
parallel
procps
zip
gdk-pixbuf-dev
gtk+2.0-dev
gtk+3.0-dev
gtk-murrine-engine
"
subpackages="
plata-noir:noir:noarch
plata-noir-gnome-shell:noir_gnome:noarch
plata-noir-gtk2:noir_gtk2:noarch
plata-noir-gtk3:noir_gtk3:noarch
plata-noir-compact:noir_compact:noarch
plata-noir-compact-gnome-shell:noir_compact_gnome:noarch
plata-noir-compact-gtk2:noir_compact_gtk2:noarch
plata-noir-compact-gtk3:noir_compact_gtk3:noarch
"
source="https://gitlab.com/tista500/plata-theme/-/archive/$pkgver/plata-theme-$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-parallel \
--disable-telegram \
--disable-cinnamon \
--disable-flashback \
--disable-xfce \
--disable-openbox \
--disable-mate
make -j1 # It uses GNU parallel internally
}
package() {
make DESTDIR="$pkgdir" install
# Remove unwanted themes, if you want any please submit a pull request
rm -rf "$pkgdir"/usr/share/themes/Plata
rm -rf "$pkgdir"/usr/share/themes/Plata-Compact
rm -rf "$pkgdir"/usr/share/themes/Plata-Lumine
rm -rf "$pkgdir"/usr/share/themes/Plata-Lumine-Compact
}
noir() {
pkgdesc="Dark Plata theme"
amove usr/share/themes/Plata-Noir/index.theme
amove usr/share/themes/Plata-Noir/gtksourceview
}
noir_gtk3() {
pkgdesc="GTK+3.0 assets of Dark Plata theme"
install_if="plata-noir=$pkgver-r$pkgrel gtk+3.0"
amove usr/share/themes/Plata-Noir/gtk-3*
}
noir_gtk2() {
pkgdesc="GTK+2.0 assets of Dark Plata theme"
install_if="plata-noir=$pkgver-r$pkgrel gtk+2.0"
depends="gtk-murrine-engine"
amove usr/share/themes/Plata-Noir/gtk-2*
}
noir_gnome() {
pkgdesc="GNOME Shell assets of Dark Plata theme"
install_if="plata-noir=$pkgver-r$pkgrel gnome-shell"
amove usr/share/themes/Plata-Noir/gnome-shell
}
noir_compact() {
pkgdesc="Compact Dark Plata theme"
amove usr/share/themes/Plata-Noir-Compact/index.theme
}
noir_compact_gtk3() {
pkgdesc="GTK+3.0 assets of Compact Dark Plata theme"
install_if="plata-noir-compact=$pkgver-r$pkgrel gtk+3.0"
amove usr/share/themes/Plata-Noir-Compact/gtk-3*
}
noir_compact_gtk2() {
pkgdesc="GTK+2.0 assets of Compact Dark Plata theme"
install_if="plata-noir-compact=$pkgver-r$pkgrel gtk+2.0"
depends="gtk-murrine-engine"
amove usr/share/themes/Plata-Noir-Compact/gtk-2*
}
noir_compact_gnome() {
pkgdesc="GNOME Shell assets of Compact Dark Plata theme"
install_if="plata-noir-compact=$pkgver-r$pkgrel gnome-shell"
amove usr/share/themes/Plata-Noir-Compact/gnome-shell
}
sha512sums="a503bb1b4ed8f515cf972d2a35c374298012ce7e00cba69c05cc22dc25b5ed07c7a5fb72fd06a1906cc043da01a220a4f8552e70efb8d72beda817d4ecb200a0 plata-theme-0.9.9.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment