summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c80dfd4e8c0dab8329e529d8d775a07caa66011 (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
44
45
46
47
48
49
# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>

# Based on numix-themes-git
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Diego <cdprincipe@gmail.com>

pkgname=numix-themes-darkblue-git
pkgver=2.6.4.r2.5a0ec95
pkgrel=1
pkgdesc='A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce) (Dark Blue Variant)'
arch=('any')
url='http://numixproject.org/'
license=('GPL3')
makedepends=('git' 'glib2' 'ruby-sass')
optdepends=('gtk-engine-murrine: GTK2 theme engine')
provides=('numix-themes-darkblue')
conflicts=('numix-themes-darkblue')
source=('numix-themes::git+https://github.com/shimmerproject/Numix.git'
       'dark_colors.patch')
md5sums=('SKIP'
         'a73ce14c46aabad53ddf6c1c467b2b67')

prepare() {
  cd "$srcdir/numix-themes/src/"

  patch -Np1 -i "$srcdir/dark_colors.patch"
  ln -srf gtk-3.0/gtk{-dark,}.css
  ln -srf gtk-3.20/gtk{-dark,}.css
}

pkgver() {
  cd numix-themes

  git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./'
}

build() {
  cd numix-themes

  make
}

package() {
  cd numix-themes

  make INSTALL_DIR="${pkgdir}/usr/share/themes/Numix-DarkBlue" install
}

# vim: ts=2 sw=2 et: