summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d8805283e6f41825f34c36ded5390b99b883b0b (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: Germán Franco <dev.germanfr@gmail.com>

pkgname=elementary-blue-icon-theme-git
pkgver=r2262.6aa716cc
pkgrel=1
pkgdesc='Classic blue folders of the elementary icon theme.'
arch=('any')
url='https://github.com/germanfr/elementary-blue-icons'
license=('GPL3')
groups=('pantheon-unstable')
depends=('elementary-icon-theme')
makedepends=('git' 'meson')
options=('!emptydirs')
source=('elementary-blue-icon-theme::git+https://github.com/germanfr/elementary-blue-icons.git')
sha256sums=('SKIP')

pkgver() {
  cd elementary-blue-icon-theme
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

prepare() {
  if [[ -d build ]]; then
    rm -rf build
  fi
  mkdir build
}

build() {
  cd build

  arch-meson ../elementary-blue-icon-theme
  ninja
}

package() {
  cd build

  DESTDIR="${pkgdir}" ninja install
}

# vim: ts=2 sw=2 et: