summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Reis2018-10-23 15:51:41 -0300
committerGustavo Reis2018-10-23 15:51:41 -0300
commit0be3b3a3eefa821d0a8c3b7b6f23143d2724e7f4 (patch)
treeba597b91a89d02bbb1626b06e16b73a45c66cd7f
parent75cfcf1816fdd353565ccc4b5b25234cc6fbaa18 (diff)
downloadaur-0be3b3a3eefa821d0a8c3b7b6f23143d2724e7f4.tar.gz
Upgraded PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD17
2 files changed, 16 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d110e4625430..6f8edb9d6192 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = suru-plus-git
- pkgdesc = An elegant, modern and sweet third-party Suru icons, based on Sam Hewitt's Suru Icons
- pkgver = r2.9
+ pkgdesc = Suru++ 20 — A cyberpunk, elegant, futuirtisc and modern third-party icons theme!
+ pkgver = 20.3.0
pkgrel = 1
url = https://github.com/gusbemacbe/suru-plus
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index df8322293953..a3e6ff7f0682 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
# Contributor: Daniel Miranda (dmiranda)
+# Maintainer: Gustavo Costa (gusbemacbe)
_gitname=suru-plus
pkgname=suru-plus-git
-pkgver=r2.9
+pkgver=20.3.0
pkgrel=1
-pkgdesc="An elegant, modern and sweet third-party Suru icons, based on Sam Hewitt's Suru Icons"
+pkgdesc="Suru++ 20 — A cyberpunk, elegant, futuirtisc and modern third-party icons theme!"
arch=('any')
url="https://github.com/gusbemacbe/${_gitname}"
license=('GPL3')
@@ -22,10 +23,20 @@ pkgver()
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/
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
- rm -rf "$pkgdir"/usr/share/icons/suru-plus/{configure, .git, .github, .gitattributes, .gitignore,*.md,*.jpg,*.svg,*.png, .product, 'nuove icone', 'Suru++ OpenDesktop'}
+
+ # Removing some unnecessary files
+ rm -rf "$pkgdir"/usr/share/icons/suru-plus/{configure, .git, .gitignore, *.md, 'images', 'templates'}
+
+ # Renaming the folder
+ mv "$pkgdir"/usr/share/icons/suru-plus "$pkgdir"/usr/share/icons/Suru++\ 20
}