summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77408ef31f740013fbef01879be5943cc3718f0e (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
# Maintainer: Sergio Schneider <s p s f 6 4  at  g m a i l.c o m>

_gitname=Futura-Icon-Pack
pkgname=futura-icon-pack-git
pkgver=r12
pkgrel=1
pkgdesc='Futuristic icon pack, combination of Kora (mainly), Papirus, Tela'
arch=(any)
makedepends=('git' 'unzip')
url="https://github.com/coderhisham/${_gitname}"
license=('GPL3')
source=("git+${url}.git")
md5sums=('SKIP')

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

package() {
    install -d -m 755 "$pkgdir"/usr/share/icons/Futura-Icon-Pack

#    cd $srcdir/${_gitname}/
#    unzip "Futura-Icon-Pack-main.zip" -d Futura-Icon-Pack

#    cp -r Futura-Icon-Pack/*/* "$pkgdir"/usr/share/icons/Futura-Icon-Pack/
    cp -r Futura-Icon-Pack/* "$pkgdir"/usr/share/icons/Futura-Icon-Pack/
}