# Maintainer: Philip Goto _pkgname=cros-adapta pkgname=${_pkgname}-gtk-theme pkgver=69 pkgrel=1 pkgdesc="Adapta crostini theme, the Chrome OS GTK+ theme" url="https://chromium.googlesource.com/chromiumos/third_party/cros-adapta/" arch=(any) license=(GPL2) conflicts=(${_pkgname}-gtk-theme-git) makedepends=("autoconf" "automake" "inkscape>=0.91" "gdk-pixbuf2>=2.32.2" "glib2>=2.48.0" "libsass>=3.3" "libxml2" "pkgconf" "sassc>=3.3" "git") depends=(gtk-engine-murrine gtk3) source=("git+https://chromium.googlesource.com/chromiumos/third_party/${_pkgname}#branch=release-R69-10895.B") sha256sums=('SKIP') build() { cd ${_pkgname} tools/extract_adapta.sh } package() { cd ${_pkgname} install -dm 755 "${pkgdir}"/usr/share/themes/cros-adapta cp -r gtk-2.0 "${pkgdir}"/usr/share/themes/cros-adapta/ cp -r gtk-3.0 "${pkgdir}"/usr/share/themes/cros-adapta/ cp -r gtk-3.22 "${pkgdir}"/usr/share/themes/cros-adapta/ cp index.theme "${pkgdir}"/usr/share/themes/cros-adapta/ }