summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32330199bec89f468f16e7ae1553bf6cbc720867 (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
# Maintainer: jmattheis <contact AT jmattheis DOT de>
pkgname=gruvbox-dark-gtk
pkgver=1.0.2
pkgrel=1
pkgdesc='A gruvbox dark theme. Supports GTK 2.0 and 3.0.'
arch=('any')
url="https://github.com/jmattheis/gruvbox-dark-gtk"
license=('GPL3')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jmattheis/gruvbox-dark-gtk/archive/v$pkgver.tar.gz")
sha256sums=('2b63b41876ff77ec8b1c5d91b38e6c8ba84c391f2c5d8e9dc36ecaa3d5ef2546')

package() {
    mkdir -p "$pkgdir/usr/share/themes/$pkgname"
    cd "$srcdir/$pkgname-$pkgver"
    cp -r "gtk-2.0" \
          "gtk-3.0" \
          "assets" \
          "gtk-3.20" \
          "unity" \
          "xfwm4" \
          "metacity-1" \
          "cinnamon" \
          "index.theme" \
          "$pkgdir/usr/share/themes/$pkgname"
    chown -R root:root "$pkgdir/usr/share/themes"
    chmod -R ugo+rX "$pkgdir/usr/share/themes"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}