summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b30f7df2eec78f637844d910ab49ad74018d142 (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
# Maintainer: zach <zach {at} zach-adams {dot} com>
# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de

pkgname=gtk-theme-plano-git
_pkgname=plano-theme
_pkgauthor=lassekongo83
pkgver=140.f7dba06
pkgrel=1
pkgdesc="A flat theme for GNOME & Xfce4. Latest commit from the master branch on Github."
arch=('any')
url="https://github.com/${_pkgauthor}/${_pkgname}"
license=('GPL3')
makedepends=('git')
source=(${_pkgname}::"git+https://github.com/${_pkgauthor}/${_pkgname}.git")
sha256sums=('SKIP')

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

package() {
	install -d $pkgdir/usr/share/themes

	mv "${srcdir}/${_pkgname}" "$pkgdir/usr/share/themes/Plano"
}