# Maintainer: basigur pkgname=papirus-folders-nordic pkgver=4.5 pkgrel=3 pkgdesc="Icons themes papirus color folder nordic" arch=('any') url="https://github.com/basigur/papirus-folders-nordic" license=("LGPL3") depends=('gtk-update-icon-cache' 'papirus-icon-theme') source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v${pkgver}.tar.gz") sha256sums=('1483d65a8021e96ee371a869629592138c3255a5366c412616e9434c81be199e') prepare() { cd "${pkgname}"-"${pkgver}" sed -i 's!gtk-update-icon-cache!#gtk-update-icon-cache!' papirus-nordic.sh } build() { cd "${pkgname}"-"${pkgver}" bash papirus-nordic.sh } package() { cd "${pkgname}"-"${pkgver}" install -d "${pkgdir}/usr/share/icons" install -Dm644 README.md "$pkgdir"/usr/share/doc/"$pkgname"/README.md install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE cp -r build/*/ "$pkgdir/usr/share/icons/" }