# Maintainer: Bruno Pagani <archange@archlinux.org>
# Contributor: cth451 <cth451@gmail.com>

pkgname=materia-gtk-theme
pkgver=20190912
pkgrel=1
pkgdesc="A Material Design theme for GNOME/GTK+ based desktop environments"
arch=(any)
url="https://github.com/nana-4/materia-theme"
license=(GPL)
depends=(gtk3 gnome-themes-extra)
optdepends=('gtk-engine-murrine: for gtk2 theme')
provides=(materia-theme)
conflicts=(materia-theme)
replaces=(materia-theme)
source=(https://github.com/nana-4/materia-theme/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('fd0ee98585b6443134a7e1cdaac9a15aebb130aa6603036413fad5c47440e345')

package() {
    cd ${pkgname/gtk-/}-${pkgver}
    install -d "${pkgdir}"/usr/share/themes
    ./install.sh -d "${pkgdir}"/usr/share/themes
}
