summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5d7d45dc6e599e868f7a6ff6d43183332826baf (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
# Maintainer: steelstrings <steelstring.of.a{at}gmail{dot}com>

pkgname=ozon-colors-icon-theme-git
_pkgname=ozon-icon-theme-folders
pkgver=r7.7d6d24b
pkgrel=2
pkgdesc="Additional folder colors for the default Ozon OS icon theme"
arch=('any')
url="https://github.com/ozonos/ozon-icon-theme"
license=('GPL3')
depends=('gtk-update-icon-cache')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/voyeg3r/$_pkgname.git")
sha256sums=('SKIP')

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

package() {

  # create icon theme dir
  install -d -m 755 "$pkgdir"/usr/share/icons
  
  # install icon theme
  cd "$srcdir"/"$_pkgname"/Ozon-Colored/
  cp -r . "$pkgdir"/usr/share/icons/
}