diff options
author | Gustavo Reis | 2018-10-23 16:56:46 -0300 |
---|---|---|
committer | Gustavo Reis | 2018-10-23 16:56:46 -0300 |
commit | 5fd56962b3f4567495e87832a3af867035dda627 (patch) | |
tree | 6225e6e88da2895a13ee28fde0547803f94b0490 | |
parent | 5c70f122f486baf5df389b3b3e72b830e7ba5ef3 (diff) | |
download | aur-5fd56962b3f4567495e87832a3af867035dda627.tar.gz |
Small fixes
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -26,17 +26,19 @@ package() # Installing the icons theme install -d ${pkgdir}/usr/share/icons - # Copying to the /usr/ahre/icons/ - cp -r ${srcdir}/${_gitname}* ${pkgdir}/usr/share/icons/ + # Copying to the /usr/share/icons/ and changing name to "Suru++ 20" + cp -r "${srcdir}"/suru-plus "${pkgdir}"/usr/share/icons/Suru++\ 20 + find ${pkgdir}/usr -type f -exec chmod 644 {} \; find ${pkgdir}/usr -type d -exec chmod 755 {} \; # Removing unncessary .directory files find ${pkgdir}/usr -type f -name '.directory' -delete - # Removing some unnecessary files - rm -Rf "$pkgdir"/usr/share/icons/suru-plus/{.git, .gitignore,*.md, images, templates} - - # Renaming the folder - mv "$pkgdir"/usr/share/icons/suru-plus "$pkgdir"/usr/share/icons/Suru++\ 20 + # Deleting unneeded files + rm -r "$pkgdir"/usr/share/icons/Suru++\ 20/.git + rm -r "$pkgdir"/usr/share/icons/Suru++\ 20/.gitignore + rm -r "$pkgdir"/usr/share/icons/Suru++\ 20/*.md + rm -R "$pkgdir"/usr/share/icons/Suru++\ 20/images + rm -R "$pkgdir"/usr/share/icons/Suru++\ 20/templates } |