summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ebb63102434071c697b6e61b0027e62f6456c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=cros-adapta-gtk-theme
pkgver=70
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=(cros-adapta-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")
depends=(gtk-engine-murrine
         gtk3)

source=("https://chromium.googlesource.com/chromiumos/third_party/cros-adapta/+archive/release-R70-11021.B.tar.gz")
sha256sums=(SKIP)

build() {
    yes | tools/extract_adapta.sh
}

package() {
    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/
}