summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c742b443a885e655ca0c91ca80f544c5d7e9693a (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
43
# Maintainer: Andrey Vihrov <andrey.vihrov at gmail.com>
# Contributor: TingPing <tingping@tingping.se>
# Contributor: Jeremy Newton (Mystro256)

pkgname=mist-icon-theme
pkgver=3.0.0+20+gaaba3bb
pkgrel=2
pkgdesc="Mist icon theme"
arch=('any')
url="https://wiki.gnome.org/GnomeArt"
license=('GPL')
depends=('gtk-update-icon-cache' 'gnome-icon-theme')
makedepends=('git' 'gtk-engines' 'icon-naming-utils' 'gnome-common')
_commit=aaba3bb83add369a480f393a8d0907f6ea72b285
source=("git+https://git.gnome.org/browse/archive/gnome-themes#commit=${_commit}")
sha256sums=('SKIP')

pkgver() {
  cd "gnome-themes"
  git describe --long | sed 's/GNOME_THEMES_//;s/_/./g;s/-/+/g'
}

prepare() {
  cd "gnome-themes"

  # Revert 'Switch to GTK+ 3.0', it requires non-existent gtk-engines-3
  git revert --no-commit 7c840124d0ed9e946fd7713f8a5761ea40a741f5
}

build() {
  cd "gnome-themes"

  ./autogen.sh --prefix=/usr --disable-dependency-tracking
  make -C icon-themes/Mist
}

package() {
  cd "gnome-themes"

  make DESTDIR="${pkgdir}" -C icon-themes/Mist install
}

# vim:set ts=2 sw=2 et: