Commit d480b554 authored by Leo's avatar Leo

community/vimix-theme: remove

parent 0453a604
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=vimix-theme
_datever=2020-07-13
pkgver=${_datever//-/}
_commit=9970d40ecbebb5ef6c9019782b8fb1277278915b
pkgrel=0
pkgdesc="Flat Material Design Theme"
options="!check" # It is a theme, there is nothing to test
url="https://github.com/vinceliuice/vimix-gtk-themes"
arch="noarch"
license="GPL-3.0-only"
makedepends="bash sassc coreutils"
# These are the only variants of theme that are packaged if you want to package
# as based in the needs of the people in Alpine Linux, if you are in Alpine
# Linux and wishes to have another theme feel free to contribute
subpackages="
vimix-ruby-dark:_dark_ruby:noarch
vimix-ruby-dark-gnome-shell:_dark_ruby_gnome_shell:noarch
vimix-ruby-dark-gtk2:_dark_ruby_gtk2:noarch
vimix-ruby-dark-gtk3:_dark_ruby_gtk3:noarch
vimix-amethyst-dark:_dark_amethyst:noarch
vimix-amethyst-dark-gnome-shell:_dark_amethyst_gnome_shell:noarch
vimix-amethyst-dark-gtk2:_dark_amethyst_gtk2:noarch
vimix-amethyst-dark-gtk3:_dark_amethyst_gtk3:noarch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/vinceliuice/vimix-gtk-themes/archive/$_commit.tar.gz"
builddir="$srcdir/vimix-gtk-themes-$_commit"
package() {
mkdir -p "$pkgdir"/usr/share/themes
"$builddir"/install.sh \
--theme amethyst \
--theme ruby \
--color dark \
--flat \
--dest "$pkgdir"/usr/share/themes
# We don't need those at the moment, if anyone wants them they can
# add it to the package by adding a subpackage
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/cinnamon
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/metacity-1
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/unity
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/xfwm4
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/plank
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/AUTHORS
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-ruby/LICENSE
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/cinnamon
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/metacity-1
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/unity
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/xfwm4
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/plank
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/AUTHORS
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-laptop-amethyst/LICENSE
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-ruby
rm -rf "$pkgdir"/usr/share/themes/vimix-dark-amethyst
}
_dark_ruby() {
pkgdesc="Dark, Ruby hue variant of Vimix theme"
amove usr/share/themes/vimix-dark-laptop-ruby/index.theme
}
_dark_ruby_gnome_shell() {
pkgdesc="GNOME Shell assets for Dark, Ruby hue variant of Vimix theme"
install_if="vimix-ruby-dark=$pkgver-r$pkgrel gnome-shell"
amove usr/share/themes/vimix-dark-laptop-ruby/gnome-shell
}
_dark_ruby_gtk2() {
pkgdesc="GTK+2.0 assets for Dark, Ruby hue variant of Vimix theme"
depends="gtk-murrine-engine"
install_if="vimix-ruby-dark=$pkgver-r$pkgrel gtk+2.0"
amove usr/share/themes/vimix-dark-laptop-ruby/gtk-2.0
}
_dark_ruby_gtk3() {
pkgdesc="GTK+3.0 assets for Dark, Ruby hue variant of Vimix theme"
install_if="vimix-ruby-dark=$pkgver-r$pkgrel gtk+3.0"
amove usr/share/themes/vimix-dark-laptop-ruby/gtk-3.0
}
_dark_amethyst() {
pkgdesc="Dark, Amethsyst hue variant of Vimix theme"
amove usr/share/themes/vimix-dark-laptop-amethyst/index.theme
}
_dark_amethyst_gnome_shell() {
pkgdesc="GNOME Shell assets for Dark, Amethyst hue variant of Vimix theme"
install_if="vimix-amethyst-dark=$pkgver-r$pkgrel gnome-shell"
amove usr/share/themes/vimix-dark-laptop-amethyst/gnome-shell
}
_dark_amethyst_gtk2() {
pkgdesc="GTK+2.0 assets for Dark, Amethyst hue variant of Vimix theme"
depends="gtk-murrine-engine"
install_if="vimix-amethyst-dark=$pkgver-r$pkgrel gtk+2.0"
amove usr/share/themes/vimix-dark-laptop-amethyst/gtk-2.0
}
_dark_amethyst_gtk3() {
pkgdesc="GTK+3.0 assets for Dark, Amethyst hue variant of Vimix theme"
install_if="vimix-amethyst-dark=$pkgver-r$pkgrel gtk+3.0"
amove usr/share/themes/vimix-dark-laptop-amethyst/gtk-3.0
}
sha512sums="6685dcd794ab9fc438bdcb88e524cf4aa327baa16f89ca271a6ea32dc5554350b7482d4bb4c625b3995d696e332d71cfef4775500fbcf064672b302eb6b3605f vimix-theme-20200713.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