summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b87c1be29fdea9efaa8442b3fbd2db2b1fce909 (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
# Maintainer: grimi <grimi at poczta dot fm>

pkgname=matcha-gtk-theme
pkgver=2.6
pkgrel=1
pkgdesc="A flat design theme for GNOME, MATE, Openbox, Unity, XFCE, Budgie"
arch=('any')
url='https://www.gnome-look.org/p/1187179'
license=('GPL3')
depends=('gtk-engine-murrine' 'gtk-engines' 'gtk3')
source=("${pkgname}-${pkgver}.tar.gz::https://dl.opendesktop.org/api/files/download/id/1511178505/Matcha-Theme.tar.xz")
sha256sums=('7c9205a6bd267239866778815a073c3197589b31f1abf8ad4d6eaf9ee8d6d3cb')

prepare() {
   cd Matcha-Theme/Matcha/openbox-3
   sed -i 's/\(menu.border.width:\).*$/\1 1/' themerc
}

package() {
   cd Matcha-Theme
   find Matcha{,-Dark}/ -type f ! -name thumbnail.png -exec install -Dm644 "{}" "${pkgdir}/usr/share/themes/{}" \;
   find Matcha/ -type l -exec cp -d  "{}" "${pkgdir}/usr/share/themes/{}" \;
}