summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a2006f3ca6d439196aa07eab3b3583880e9eae5 (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
# Maintainer: barcia <barcia@opmbx.org>

_gitname=Antu
_pkgname=Antu
pkgname=('antu-icon-theme-git')
pkgver=r103.edf89e7
pkgrel=1
pkgdesc="An icon theme for Plasma Desktop"
arch=('any')
url="https://github.com/fabianalexisinostroza/${_gitname}"
license=('GPL3')
options=('!strip')
conflicts=('')
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}/${_pkgname}* ${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
}