summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ca29914b735a68446c72f9754d75b61d1a2d223 (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: Francois Menning <f.menning at pm me>
# Contributor: Kibouo <csonka.mihaly@hotmail.com>

pkgname=matcha-gtk-theme-git
pkgver=2021.05.20.r0.gd622941
pkgrel=1
pkgdesc='A flat design theme for GTK3, GTK2, and Gnome-Shell.'
arch=('any')
url='https://vinceliuice.github.io/theme-matcha'
license=('GPL3')
depends=('gtk-engine-murrine' 'gtk-engines')
makedepends=('git')
provides=('matcha-gtk-theme')
conflicts=('matcha-gtk-theme')
source=("$pkgname::git+https://github.com/vinceliuice/Matcha-gtk-theme.git")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "$pkgname"

  mkdir -p "${pkgdir}/usr/share/themes"
  ./install.sh \
    --dest "${pkgdir}/usr/share/themes"
}