summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfwhcat2019-05-04 10:08:43 +0200
committerfwhcat2019-05-04 10:08:43 +0200
commit13befa994ab38ca7ed59a5f65877cb34f149ff6b (patch)
tree6aac08b61a36de39deb10276cac406cf12305046 /PKGBUILD
downloadaur-13befa994ab38ca7ed59a5f65877cb34f149ff6b.tar.gz
Let's have a dark version please
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..285028b83af
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: fwhcat <fabien.wang@gmail.com>
+
+_pkgname=windows10-dark-gtk-theme
+pkgname=${_pkgname}-git
+pkgver=2.1.r4.g780fdb6
+pkgrel=1
+pkgdesc="Windows 10 Dark GTK theme"
+arch=('any')
+url="https://github.com/B00merang-Project/Windows-10-Dark"
+license=('GPL3')
+
+depends=('gtk-engines' 'gtk-engine-murrine')
+optdepends=('gnome-themes-standard' 'windows10-icon-theme-git' 'windows10-tint2rc')
+makedepends=('git')
+
+provides=("${_pkgname}-git")
+conflicts=("${_pkgname}-git")
+
+source=("${_pkgname}::git+https://github.com/B00merang-Project/Windows-10-Dark.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+
+ # create theme dir
+ install -d -m 755 "$pkgdir/usr/share/themes/Windows10-Dark"
+
+ # install theme
+ find * -type f -exec \
+ install -D -m 644 '{}' "$pkgdir/usr/share/themes/Windows10-Dark/{}" \;
+}