summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadu2020-12-28 08:58:39 +0200
committerRadu2020-12-28 08:58:39 +0200
commite49e4a2c9c07555fcb6435542beabc59cb0fe4b0 (patch)
tree6b6ea85d620579060a0649625b822fd9fc7286cd
downloadaur-e49e4a2c9c07555fcb6435542beabc59cb0fe4b0.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD38
-rw-r--r--README.md11
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..50f7c1f05a47
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = dracula-gtk-theme-git
+ pkgdesc = This theme provides support for GTK-3 and GTK-2 based desktop environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc. Also provides support for KDE plasma.
+ pkgver = r136.71e6a55
+ pkgrel = 1
+ url = https://github.com/dracula/gtk
+ arch = any
+ license = GPL
+ optdepends = ttf-roboto: primary font face defined
+ optdepends = ttf-ubuntu-font-family: secondary font face defined
+ optdepends = cantarell-fonts: tertiary font face defined
+ source = dracula-gtk-theme-git::git+https://github.com/dracula/gtk.git
+ sha256sums = SKIP
+
+pkgname = dracula-gtk-theme-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..8980af3f175f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Radu Bîrzu <radu@webative.net>
+
+pkgname=dracula-gtk-theme-git
+pkgver=r136.71e6a55
+pkgrel=1
+pkgdesc="This theme provides support for GTK-3 and GTK-2 based desktop environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc. Also provides support for KDE plasma."
+arch=("any")
+url="https://github.com/dracula/gtk"
+license=('GPL')
+optdepends=('ttf-roboto: primary font face defined'
+ 'ttf-ubuntu-font-family: secondary font face defined'
+ 'cantarell-fonts: tertiary font face defined')
+source=("${pkgname}::git+https://github.com/dracula/gtk.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ msg2 "To activate the theme in Gnome, run the following commands in Terminal:"
+ msg2 ""
+ msg2 "gsettings set org.gnome.desktop.interface gtk-theme \"Dracula\""
+ msg2 "gsettings set org.gnome.desktop.wm.preferences theme \"Dracula\""
+ msg2 ""
+ msg2 "or Change via distribution specific tweak tool."
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+
+ mkdir -p "${pkgdir}/usr/share/themes/${pkgname}"
+ cp -a "${srcdir}/${pkgname}/"* "${pkgdir}/usr/share/themes/${pkgname}/"
+}
diff --git a/README.md b/README.md
new file mode 100644
index 000000000000..813dd2775edb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,11 @@
+# Dracula for [GTK](https://www.gtk.org/)
+
+> A dark theme for [GTK](https://www.gtk.org/).
+
+This theme provides support for GTK-3 and GTK-2 based desktop environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc. Also provides support for KDE plasma.
+
+All instructions can be found at [draculatheme.com/gtk](https://draculatheme.com/gtk).
+
+## License
+
+[GPL-3.0 License](./LICENSE)