summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd95c78abfe20e9970b9c3949a3408064057eb8c (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
# Maintainer: Gui||aume <michaudg[at]gmail[dot]com>
# Contributor: zach <zach {at} zach-adams {dot} com>

pkgname=gtk-theme-arc-solid-git
_pkgname=arc-theme
_pkgauthor=horst3180
pkgver=543.ca76d0e
pkgrel=1
pkgdesc="A flat theme for GTK 3, GTK 2 and Gnome-Shell. With --disable-transparency build option. Latest commit from the master branch on Github."
arch=('any')
url="https://github.com/horst3180/${_pkgname}"
license=('GPL3')
depends=('gtk3' 'gtk-engine-murrine')
makedepends=('git')
source=(${_pkgname}::"git+https://github.com/horst3180/${_pkgname}.git")
sha256sums=('SKIP')
conflicts=('gtk-theme-arc', 'gtk-theme-arc-git')

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

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

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