blob: 0947ff573fa2a76437e0706824b69d3d6e0336ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Fabio ‘Lolix’ Loli <lolix at disroot dot org>
# Contributor: Daniel Miranda <dmiranda at gmail dot com>
# Contributor: Mark Wagie <yochanan dot marqos at gmail dot com>
# Maintainer: Sam Burgos <sam.burgos1089 at gmail dot com>
# Maintainer: Gustavo Costa <gusbemacbe ar gmail dot com>
pkgname=suru-plus-pack-git
pkgver=25
pkgrel=4
pkgdesc="The complete collection of Suru++ icons themes, based on Sam Hewitt's Suru Icons"
arch=('any')
license=('GPL3')
depends=('gtk-update-icon-cache'
'hicolor-icon-theme')
provides=("suru-plus-pack")
conflicts=("suru-plus-pack"
"suru-plus"
"suru-plus-dark"
"suru-plus-telinkrin")
makedepends=('git')
options=('!strip')
source=('git+https://github.com/gusbemacbe/suru-plus'
'git+https://github.com/gusbemacbe/suru-plus-dark'
'git+https://github.com/gusbemacbe/suru-plus-telinkrin')
sha256sums=('SKIP'
'SKIP'
'SKIP')
#pkgver()
#{
# cd suru-plus
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
#}
package()
{
# Installing the icons theme
install -d "${pkgdir}"/usr/share/icons
# Copying and changing name to "Suru++", "Suru++-Dark" and "Suru++-Telinkrin"
cp -r "${srcdir}"/suru-plus/Suru++ "${pkgdir}"/usr/share/icons/
cp -r "${srcdir}"/suru-plus-dark "${pkgdir}"/usr/share/icons/Suru++-Dark
cp -r "${srcdir}"/suru-plus-telinkrin "${pkgdir}"/usr/share/icons/Suru++-Telinkrin
find "${pkgdir}"/usr -type f -exec chmod 644 {} \;
find "${pkgdir}"/usr -type d -exec chmod 755 {} \;
# Deleting unneeded files from Suru++ Telinkrin icon
rm -rf "$pkgdir"/usr/share/icons/Suru++-Telinkrin/.git
rm -rf "$pkgdir"/usr/share/icons/Suru++-Telinkrin/*.md
}
|