summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsolaraquarion2021-05-12 09:59:08 -0400
committersolaraquarion2021-05-12 09:59:08 -0400
commitbdc86913674e0832967c51a32d1e1ee09ed2c9f3 (patch)
treef28d9ad1cd988e522013255ad0d3dba6e8e69365
downloadaur-yaru-colors-gtk-theme.tar.gz
initial upload
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD49
2 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b6ec3ab0919
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = yaru-colors-gtk-theme
+ pkgdesc = A fork of Ubuntu's Yaru theme - in different colors
+ pkgver = 21.04
+ pkgrel = 1
+ url = https://github.com/Jannomag/Yaru-Colors
+ arch = any
+ license = GPL3
+ makedepends = git
+ options = !strip
+ source = https://github.com/Jannomag/Yaru-Colors/releases/download/21.04snap/Yaru-Colors_21.04.zip
+ sha256sums = e36f7830b5f8051f5776a42baf6d7138d41219eda7a5f3f95012457ee1ad3ba7
+
+pkgname = yaru-colors-gtk-theme
+ depends = gtk3
+ depends = gnome-themes-extra
+ optdepends = gdk-pixbuf2: GTK2 support
+ optdepends = gtk-engine-murrine: GTK2 support
+ optdepends = yaru-colors-wallpapers: Matching wallpapers
+ optdepends = yaru-colors-icon-theme: Matching icon theme
+ optdepends = yaru-sound-theme: Matching sound theme
+ provides = yaru-colors-gtk-theme
+ conflicts = yaru-colors-gtk-theme
+
+pkgname = yaru-colors-icon-theme
+ depends = yaru-icon-theme
+ provides = yaru-colors-icon-theme
+ conflicts = yaru-colors-icon-theme
+
+pkgname = yaru-colors-wallpapers
+ provides = yaru-colors-wallpapers
+ conflicts = yaru-colors-wallpapers
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2ac0cf6c9e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Solomon Choina <shlomochoina at gmail dot com>
+pkgname=('yaru-colors-gtk-theme'
+ 'yaru-colors-icon-theme'
+ 'yaru-colors-wallpapers')
+pkgbase='yaru-colors-gtk-theme'
+pkgver=21.04
+pkgrel=1
+pkgdesc="A fork of Ubuntu's Yaru theme - in different colors"
+arch=('any')
+license=('GPL3')
+url="https://github.com/Jannomag/Yaru-Colors"
+makedepends=('git')
+options=('!strip')
+source=(https://github.com/Jannomag/Yaru-Colors/releases/download/${pkgver}snap/Yaru-Colors_${pkgver}.zip)
+sha256sums=('e36f7830b5f8051f5776a42baf6d7138d41219eda7a5f3f95012457ee1ad3ba7')
+
+package_yaru-colors-gtk-theme() {
+ depends=('gtk3' 'gnome-themes-extra')
+ optdepends=('gdk-pixbuf2: GTK2 support'
+ 'gtk-engine-murrine: GTK2 support'
+ 'yaru-colors-wallpapers: Matching wallpapers'
+ 'yaru-colors-icon-theme: Matching icon theme'
+ 'yaru-sound-theme: Matching sound theme')
+ provides=("${pkgname%-git}")
+ conflicts=("${pkgname%-git}")
+
+ cd "$srcdir"
+ install -d "$pkgdir/usr/share/themes"
+ cp -a Themes/* "$pkgdir/usr/share/themes"
+}
+
+package_yaru-colors-icon-theme() {
+ depends=('yaru-icon-theme')
+ provides=("${pkgname%-git}")
+ conflicts=("${pkgname%-git}")
+
+ cd "$srcdir"
+ install -d "$pkgdir/usr/share/icons"
+ cp -a Icons/* "$pkgdir/usr/share/icons"
+}
+
+package_yaru-colors-wallpapers() {
+ provides=("${pkgname%-git}")
+ conflicts=("${pkgname%-git}")
+
+ cd "$srcdir"
+ install -d "$pkgdir/usr/share/backgrounds/yaru-colors"
+ cp -a Wallpapers/* "$pkgdir/usr/share/backgrounds/yaru-colors"
+}