summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ca1be567b9aba12af75137d5d0102268055347d (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
# Contributor: Daniel Miranda <dmiranda at gmail dot com>
# Maintainer: Gustavo Costa <gusbemacbe@gmail.com>

_gitname=suru-plus-telinkrin
pkgname=suru-plus-telinkrin-git
pkgver=r1.0
pkgrel=1
pkgdesc="A desaturated-blue-coloured theme, designed by Paul Beyens, based on Andrea Bonnani's Suru++ and adapted to the Telinkrin GTK theme"
arch=('any')
url="https://github.com/gusbemacbe/${_gitname}"
license=('GPL3')
makedepends=('git')
options=('!strip')
conflicts=(${_gitname})
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() 
{
    cd ${_gitname}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() 
{
    install -d ${pkgdir}/usr/share/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 {} \;
    find ${pkgdir}/usr -type f -name '.directory' -delete
    rm -rf "$pkgdir"/usr/share/icons/suru-plus-telinkrin/{configure, .git, .github, .gitattributes, .gitignore,*.md,*.jpg,*.svg,*.png, .product, 'nuove icone', 'Suru++ OpenDesktop'}
}