# Maintainer: Aitor Alonso <contact: https://aalonso.eu>

pkgname=qogir-icon-theme-git
pkgver=2025.02.15.26.gc633057b
pkgrel=1
pkgdesc='A colorful design icon theme for linux desktops'
arch=('any')
url='https://github.com/vinceliuice/Qogir-icon-theme'
license=('GPL-3.0-only')
makedepends=('git')
options=('!strip' '!debug')
provides=('qogir-icon-theme')
conflicts=('qogir-icon-theme')
source=('git+https://github.com/vinceliuice/Qogir-icon-theme')
sha256sums=('SKIP')

pkgver() {
  cd Qogir-icon-theme
  git describe --tags | sed 's/-/./g'
}

package() {
  cd Qogir-icon-theme
  mkdir -p "${pkgdir}/usr/share/icons"
  install -dm755 "${pkgdir}/"usr/share/icons
  sed -i '/gtk-update-icon-cache/d' install.sh
  ./install.sh -d "${pkgdir}/usr/share/icons"
}
