summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46c5bc559a87ed7c04b9c901d62e77792beeefdc (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: leogx9r
pkgname=gtk-theme-windows10-dark-git
pkgver=r133.7c4b3ad
pkgrel=1
pkgdesc="GTK 3.x Theme made to emulate a Windows 10 environment on Linux machines. Keeps upstream with master branch."
arch=('any')
license=('GPL')
depends=('gtk-engine-murrine')
themename=Windows-10-Dark
url="https://github.com/B00merang-Project/Windows-10-Dark"
source=("${themename}::git+https://github.com/B00merang-Project/Windows-10-Dark.git#branch=master")
sha1sums=('SKIP')

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

package() {
	rm -rf "${themename}/.git"

  	install -d -m 755 "$pkgdir/usr/share/themes/${themename}"

	cd "${themename}"
  	find . -type f -exec install -D -m 644 '{}' "$pkgdir/usr/share/themes/${themename}/{}" \;
}