summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67aedcebd0d72b0832ae4bc90a6d78bad5f603e7 (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
# Maintainer: Tony Fettes <feihaoxiang2014@gmail.com>

pkgname=mondrian-gtk-theme-git
_gitname=Mondrian
pkgver=r32.2450232
pkgrel=1
pkgdesc="GTK themes based on Piet Mondrian's paintings."
arch=('any')
url='https://www.opencode.net/ju1464/Mondrian'
license=('GPL3')
optdepends=('mondrian-icon-theme-git: for matched icon theme')
makedepends=('git')
provides=('mondrian-gtk-theme')
conflicts=('mondrian-gtk-theme')
source=("git+${url}.git")
options=('!strip')
sha256sums=('SKIP')

pkgver() {
  cd ${_gitname}
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd ${srcdir}/${_gitname}
  install -dm755 "${pkgdir}/usr/share/themes"
  cp -r GTK-Gnome/* "${pkgdir}/usr/share/themes"
}