summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfwhcat2019-05-04 10:08:43 +0200
committerfwhcat2019-05-04 10:08:43 +0200
commit13befa994ab38ca7ed59a5f65877cb34f149ff6b (patch)
tree6aac08b61a36de39deb10276cac406cf12305046
downloadaur-13befa994ab38ca7ed59a5f65877cb34f149ff6b.tar.gz
Let's have a dark version please
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD36
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..48c188c8edd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by makepkg 5.1.3
+# Sat May 4 08:05:14 UTC 2019
+pkgbase = windows10-dark-gtk-theme-git
+ pkgdesc = Windows 10 Dark GTK theme
+ pkgver = 2.1.r4.g780fdb6
+ pkgrel = 1
+ url = https://github.com/B00merang-Project/Windows-10-Dark
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = gtk-engines
+ depends = gtk-engine-murrine
+ optdepends = gnome-themes-standard
+ optdepends = windows10-icon-theme-git
+ optdepends = windows10-tint2rc
+ provides = windows10-dark-gtk-theme-git
+ conflicts = windows10-dark-gtk-theme-git
+ source = windows10-dark-gtk-theme::git+https://github.com/B00merang-Project/Windows-10-Dark.git
+ sha256sums = SKIP
+
+pkgname = windows10-dark-gtk-theme-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..eaab8415ec1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+windows10-dark-gtk-theme/
+*.tar.xz
+*.tar.gz
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/{}" \;
+}