summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5369883a23a448226c075c47b311a843f4999946 (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
#Maintainer Robosky <fangyuhao0612@gmail.com>
pkgname=toffee-gtk-theme-git
_gitname=Toffee-gtk-theme
pkgver=44.a349c06
pkgrel=1
pkgdesc='A flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments like Gnome, Budgie, etc.'
arch=('any')
url='https://github.com/vinceliuice/Toffee-gtk-theme'
depends=('gtk3' 'gtk-engine-murrine' 'gtk-engines')
optdepends=('glib2: to use the GDM theme')
license=('GPL2')
source=("git+https://github.com/vinceliuice/${_gitname}")
install="${pkgname}.install"
md5sums=('SKIP')


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

package() {
	cd "${srcdir}/${_gitname}"
	install -m755 -d "${pkgdir}/usr/share/themes"
	./install.sh --gdm \
		--dest "${pkgdir}/usr/share/themes"
}