summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9894e507c708fdd15e2aafd8ba2a999d7b28aeab (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
# Maintainer: ArchFeh <guyu2876@gmail.com>
# Contributor: Robosky <fangyuhao0612@gmail.com>
pkgname=mojave-gtk-theme-git
_pkgname=Mojave-gtk-theme
pkgver=r407.6b7b4fa
pkgrel=1
pkgdesc='A Mac OSX like theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments like Gnome, Pantheon, XFCE, Mate, etc.'
arch=('any')
depends=('gtk3' 'gtk-engine-murrine' 'gtk-engines')
license=('GPL3')
url='https://github.com/vinceliuice/Mojave-gtk-theme'
source=('git+https://github.com/vinceliuice/Mojave-gtk-theme.git')
md5sums=('SKIP')
makedepends=('sassc' 'optipng' 'inkscape' 'git')
options=('!strip')
conflicts=('mojave-gtk-theme' 'mojave-gtk-theme-git-new')

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

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