summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fa351560287c1bb99dc8c770a3a5e193dfe0268 (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
# Maintainer: sQVe <oskargrunning@gmail.com>

pkgname=vimix-gtk-themes-git
pkgver=r464.f83a116
pkgrel=1
pkgdesc='A flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell'
url='https://github.com/vinceliuice/vimix-gtk-themes'
arch=('any')
license=('GPL3')
depends=('gtk3')
optdepends=('gtk-engine-murrine: for gtk2 themes'
            'gtk-engines: for gtk2 themes')
makedepends=('git' 'sassc')
source=('git+https://github.com/vinceliuice/vimix-gtk-themes.git')
sha256sums=('SKIP')
provides=("vimix-gtk-themes=${pkgver}")
conflicts=('vimix-gtk-themes')
_gitname=vimix-gtk-themes

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

package() {
    cd "${_gitname}"
    install -dm755 "${pkgdir}/usr/share/themes"

    # Install standard sizes.
    ./install.sh --all --size standard --dest "$pkgdir/usr/share/themes"

    # Install compact sizes.
    ./install.sh --all --size compact --dest "$pkgdir/usr/share/themes"
}