summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a697fc2a3b12a6aebf6ed90fdb8c8ec75e4d7c8 (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
# Maintainer: Nico <d3sox at protonmail dot com>
# Contributor: Bradley Ridnour <bradley@ridnour.net>
pkgname=aritim-dark-gtk-git
_pkgname=Aritim-Dark
pkgver=r108.a908770
pkgrel=1
pkgdesc="A Dark theme for GTK based DEs, deeply inspired by the Ayu Dark color palette."
arch=(any)
url="https://github.com/Mrcuve0/$_pkgname"
provides=('aritim-dark-gtk')
optdepends=('aritim-dark-kde: Matching KDE theme')
license=('GPL3')
options=('!strip')
source=("git+$url.git")
sha256sums=('SKIP')
makedepends=('git')

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

shopt -s extglob

package() {
    cd $_pkgname

    mkdir -p "${pkgdir}/usr/share/themes/Aritim-Dark"
    cp -r GTK/* ${pkgdir}/usr/share/themes/Aritim-Dark
}