summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6562f6d2f0c673eb43bfff0111c7d0833930aa41 (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
# Maintainer: ryanw
# Contributor: Adolfo silerio
# Contributor: Francisco Javier Ospina <francisco.ospina@gmail.com>

pkgname=oranchelo-icon-theme-git
_gitname=oranchelo-icon-theme
pkgver=0.8.r6.g13886cb
pkgrel=2
pkgdesc='Oranchelo is a flat-design icon theme for XFCE4 based on Super Flat Remix and inspired by "Corny icons" by Patryk Goworowski. (git version)'
arch=(any)
makedepends=('git')
url='https://github.com/OrancheloTeam/oranchelo-icon-theme'
license=('GPL3')
groups=('gnome' 'xfce')
conflicts=('oranchelo-icon-theme')
provides=('oranchelo-icon-theme')
source=("${_gitname}::git+${url}.git")
md5sums=('SKIP')

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

package() {
  install -d -m 755 "${pkgdir}/usr/share/icons/Oranchelo"
  install -d -m 755 "${pkgdir}/usr/share/icons/Oranchelo-Green"
  install -d -m 755 "${pkgdir}/usr/share/icons/Oranchelo-Beka"
  install -d -m 755 "${pkgdir}/usr/share/icons/Oranchelo-Classic-Folders"
  install -d -m 755 "${pkgdir}/usr/share/icons/oranchelo-light"

  cd "${srcdir}/${_gitname}/Oranchelo"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo/"
  cd "${srcdir}/${_gitname}/Oranchelo-Green"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo-Green/"
  cd "${srcdir}/${_gitname}/Oranchelo-Beka"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo-Beka/"
  cd "${srcdir}/${_gitname}/Oranchelo-Classic-Folders"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo-Classic-Folders/"
  cd "${srcdir}/${_gitname}/oranchelo-light"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo-Light/"
}