summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6de4e45578165276cc8b29e7384cddb41ce831d9 (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
# Maintainer: neeshy <neeshy@tfwno.gf>
pkgname=numix-frost-themes-git
pkgver=latest
pkgrel=1
pkgdesc="A modern flat theme with a combination of light and dark elements - Antergos Edition"
arch=('any')
url="https://numixproject.github.io/"
license=('GPL-3.0-or-later')
depends=('gtk-engine-murrine')
makedepends=('gdk-pixbuf2' 'glib2' 'ruby-sass')
provides=('numix-frost-themes')
conflicts=('numix-frost-themes')
source=("git+https://github.com/Antergos/Numix-Frost.git"
        "Numix-Frost-Light::git+https://github.com/Antergos/Numix-Frost.git#branch=numix-frost-light")
sha256sums=('SKIP'
            'SKIP')

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

build() {
  cd "$srcdir/Numix-Frost"
  make

  cd "$srcdir/Numix-Frost-Light"
  make
}

package() {
  cd "$srcdir/Numix-Frost"
  scripts/utils.sh install "$srcdir/Numix-Frost/" "$pkgdir/usr/share/themes"

  cd "$srcdir/Numix-Frost-Light"
  scripts/utils.sh "$pkgdir/usr/share/themes/Numix-Frost-Light"
}