summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThe-Repo-Club2021-05-25 19:08:18 +0100
committerThe-Repo-Club2021-05-25 19:08:18 +0100
commit0fe921aa3fd8e89f58d539d8fe5081f552d5dcee (patch)
treed2c601611b28996a26c0571db70288099f6d33c8
parenta89a1ada7279f599a50a25aa28b36be44ff699b1 (diff)
downloadaur-0fe921aa3fd8e89f58d539d8fe5081f552d5dcee.tar.gz
Added the icon pack to the gtk theme
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD34
2 files changed, 16 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fded47d1d4ea..1f64248fcc06 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,12 @@
pkgbase = dracula-gtk-theme
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 = v2.0
+ pkgver = 2021.05.25
pkgrel = 1
- url = https://github.com/dracula/gtk
+ url = https://github.com/The-Repo-Club/Dracula
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-v2.0.tar.gz::https://github.com/dracula/gtk/releases/download/v2.0/Dracula.tar.xz
- sha256sums = SKIP
+ source = dracula-gtk-theme-2021.05.25.tar.gz::https://github.com/The-Repo-Club/Dracula/archive/2021.05.25.tar.gz
+ sha256sums = 28bdc1394f21320b79adf6702ba0a913a67814705544c9bb5d6a6d1091320e79
pkgname = dracula-gtk-theme
diff --git a/PKGBUILD b/PKGBUILD
index 4bc623329705..cde438e61355 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,23 @@
-# Maintainer: Radu Bîrzu <radu@webative.net>
+# Maintainer: The-Repo-Club <The-Repo-Club@github.com>
+# Contributor: The-Repo-Club <The-Repo-Club@github.com>
pkgname=dracula-gtk-theme
_pkgname=Dracula
-pkgver=v2.0
+pkgver=2021.05.25
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"
+url="https://github.com/The-Repo-Club/Dracula"
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}-$pkgver.tar.gz::${url}/releases/download/$pkgver/${_pkgname}.tar.xz")
-sha256sums=('SKIP')
-
-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."
-}
+source=("${pkgname}-$pkgver.tar.gz::${url}/archive/$pkgver.tar.gz")
+sha256sums=('28bdc1394f21320b79adf6702ba0a913a67814705544c9bb5d6a6d1091320e79')
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "$_pkgname-$pkgver"
+
+ mkdir -p "${pkgdir}/usr/share/themes/"
+ cp -a ".themes/"* "${pkgdir}/usr/share/themes/"
- mkdir -p "${pkgdir}/usr/share/themes/${_pkgname}"
- cp -a "${srcdir}/${_pkgname}/"* "${pkgdir}/usr/share/themes/${_pkgname}/"
+ mkdir -p "${pkgdir}/usr/share/icons/"
+ cp -a ".icons/"* "${pkgdir}/usr/share/icons/"
}