summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 83bba4a41fd6826a7c08aad1bb6b0e485f3b63e5 (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
35
# Maintainer: Cyril Levis <pkgbuilds AT levis DOT name>
# Contributor: Cyril Levis <pkgbuilds AT levis DOT name>
# Contributor: < eti {at} eti {dot} tf >
# Contributor: zach <zach {at} zach-adams {dot} com>
# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de

pkgname=gtk-theme-arc-gruvbox-git
_pkgname=arc-gruvbox-theme
_pkgauthor=cyrinux
pkgver=r12.e5ea0ff
pkgrel=2
pkgdesc="A flat, grey gruvboxed theme with transparent elements for GTK 3, GTK 2 and gnome-shell. Latest commit from the master branch on Github."
arch=('any')
url="https://github.com/${_pkgauthor}/${_pkgname}"
license=('GPL3')
depends=('gtk3')
makedepends=('git')
source=(${_pkgname}::"git+https://github.com/${_pkgauthor}/${_pkgname}.git")
sha256sums=('SKIP')
conflicts=('gtk-theme-arc-grey-gruvboxed')
provides=('gtk-theme-arc-grey-gruvboxed')

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

build() {
    cd "${srcdir}/${_pkgname}"
    ./autogen.sh --prefix=/usr --disable-darker --disable-dark --disable-cinnamon
}

package() {
    make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" install
}