summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 273002ff0bfab24a6d23b470cc0f58406227eccc (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
39
40
41
42
# Maintainer: Lucas Saliés Brum <lucas@archlinux.com.br>
# Contributor: anex <lane.wiscombe_at_gmail_dot_org>
# Contributor: Philip Müller <philm_at_manjaro_dot_org>
# Contributor: Rob McCathie <rob_at_manjaro_dot_org>

pkgbase=menda-themes-git
pkgname=("menda-themes-git" "menda-themes-dark-git")
pkgver=r85.0ee4e31
pkgrel=3
arch=('any')
url="https://github.com/manjaro/artwork-menda"
license=('GPL3')
depends=('gtk-engine-murrine')
source=(${pkgname}::'git+https://github.com/manjaro/artwork-menda.git')
sha1sums=('SKIP')

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

package_menda-themes-git() {
  pkgdesc="Manjaro's official Gtk2, Gtk3, Metacity, Xfwm, Openbox, Cinnamon and GNOME Shell themes"
  replaces=('menda-themes')
  conflicts=('menda-themes')
  provide=('menda-themes')

  install -dm755 "${pkgdir}/usr/share/themes"
  install -Dm755 "${srcdir}/${pkgbase}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  cp -r "${srcdir}/${pkgbase}/Menda" "${pkgdir}/usr/share/themes"
}

package_menda-themes-dark-git() {
  pkgdesc="Manjaro's official Gtk2, Gtk3, Metacity, Xfwm, Openbox, Cinnamon and GNOME Shell themes. Dark version."
  replaces=('menda-themes-dark')
  conflicts=('menda-themes-dark')
  provide=('menda-themes-dark')

  install -dm755 "${pkgdir}/usr/share/themes"
  install -Dm755 "${srcdir}/${pkgbase}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  cp -r "${srcdir}/${pkgbase}/Menda-Dark" "${pkgdir}/usr/share/themes"
}