Skip to content

Instantly share code, notes, and snippets.

@xieve
Created May 10, 2018 09:00
Show Gist options
  • Save xieve/da2437172fe9969b7412876e43abdc72 to your computer and use it in GitHub Desktop.
Save xieve/da2437172fe9969b7412876e43abdc72 to your computer and use it in GitHub Desktop.
Arch Linux Canta-Theme PKGBUILD
# Maintainer: xieve
pkgname="Canta-theme"
pkgver=Canta.theme_2018_03_28.r2.90d4075
pkgrel=1
epoch=
pkgdesc="Canta is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc. "
arch=('x86_64')
url=""
license=('unknown')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=('numix-circle-icon-theme-git: recommended base icon theme'
'gtk-engine-murrine: needed for gtk2 theme'
'gnome-themes-standard: needed for gtk2 theme')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}::git+https://github.com/vinceliuice/Canta-theme.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
package() {
cd "${pkgname}"
sudo ./install.sh
cd src/icons
sudo ./installer.sh
echo "If the theme doesn't appear in the options now, plese log out and in again or restart your WM in another way."
}
@xieve
Copy link
Author

xieve commented May 10, 2018

This installs both icon and gtk theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment