pkgname=illogical-impulse-oneui4-icons-git
_pkgname=OneUI4-Icons
pkgver=r70.55eada4
pkgrel=1
pkgdesc="A fork of mjkim0727/OneUI4-Icons for illogical-impulse dotfiles."
arch=('x86_64')
url="https://github.com/end-4/OneUI4-Icons"
license=('GPL3')
source=("git+${url}.git")
sha256sums=('SKIP')
options=('!strip')

package() {
  cd $srcdir/$_pkgname
  install -dm755 "$pkgdir/usr/share/icons"
  for _i in OneUI{,-dark,-light}; do
    cp -dr --no-preserve=mode "$_i" "$pkgdir/usr/share/icons/$_i"
  done
}
