summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58faa16b751ae5a699b8faf893ca4c821afbf2e4 (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
# Maintainer: Jack Wu <origincoder@yahoo.com>

_pkgname=zorin-desktop-themes
pkgname=$_pkgname-git
pkgver=2.0.8.r0.g9c60813
pkgrel=1
pkgdesc="The Zorin OS desktop theme provided in a variety of color combinations."
arch=('any')
url="https://github.com/ZorinOS/zorin-desktop-themes"
license=('GPL2')
depends=()
makedepends=('git')
provides=('zorin-desktop-themes')
conflicts=('zorin-desktop-themes')
source=(
        "git+https://github.com/ZorinOS/zorin-desktop-themes.git"
)
md5sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "$_pkgname"
    
    install -dm755 "$pkgdir/usr/share/themes"
    for theme in $(ls --hide={debian,LICENSE,README.md})
    do
        cp -r $theme "$pkgdir/usr/share/themes/"
    done
}