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

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

pkgver() {
  cd "${srcdir}/${_gitname}"
  TAG=$(git describe --tags)
  echo $TAG | cut -d"-" -f 1
}

package() {

  install -d -m 755 "${pkgdir}/usr/share/icons/Oranchelo"
  install -d -m 755 "${pkgdir}/usr/share/icons/Oranchelo-Green"
  

  cd "${srcdir}/${_gitname}/Oranchelo"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo/"
  cd "${srcdir}/${_gitname}/Oranchelo-Green"
  cp -r . "${pkgdir}/usr/share/icons/Oranchelo-Green/"
}