summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera2015-06-09 02:15:51 -0300
committerHugo Osvaldo Barrera2015-06-09 02:16:23 -0300
commitd0d5f86d08ae67f6131a4ef2460afab946207a7f (patch)
tree057240ee89455985917bfcf5d5b8d79975004481
downloadaur-d0d5f86d08ae67f6131a4ef2460afab946207a7f.tar.gz
Initial commit.
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD62
-rw-r--r--gtk2.patch4
-rw-r--r--gtk3.patch20
-rw-r--r--ubuntu-themes-wildblueyonder.install15
5 files changed, 130 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..55cb1efbca5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = ubuntu-themes-wildblueyonder
+ pkgdesc = Ambiance and Radiance themes, with a slight colour variation.
+ pkgver = 14.04+14.10.20140929
+ pkgrel = 1
+ url = https://launchpad.net/ubuntu-themes
+ install = ubuntu-themes-wildblueyonder.install
+ arch = any
+ license = CCPL
+ makedepends = python2
+ makedepends = imagemagick
+ makedepends = icon-naming-utils
+ depends = humanity-icon-theme
+ depends = gnome-icon-theme
+ depends = hicolor-icon-theme
+ depends = gtk-engine-unico
+ depends = gtk-engine-murrine
+ provides = ubuntu-themes
+ provides = ubuntu-mono
+ conflicts = ubuntu-themes
+ conflicts = ubuntu-mono
+ source = https://launchpad.net/ubuntu/+archive/primary/+files/ubuntu-themes_14.04+14.10.20140929.orig.tar.gz
+ source = gtk2.patch
+ source = gtk3.patch
+ md5sums = 268d1c4a3ef375400f1cb990c4b635e0
+ md5sums = 82ca564f78217c88358fedc5003bf149
+ md5sums = b3808ebed9a637971a934646349cde69
+
+pkgname = ubuntu-themes-wildblueyonder
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..43aeda86c89
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,62 @@
+# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
+# Contributor: D. Can Celasun <dcelasun@gmail.com>
+
+pkgname=ubuntu-themes-wildblueyonder
+_pkgname=ubuntu-themes
+_actual_ver=14.04
+_extra_ver=+14.10.20140929
+pkgver=${_actual_ver}${_extra_ver}
+# pkgver=${_actual_ver}${_extra_ver/\+/.}
+pkgrel=1
+pkgdesc="Ambiance and Radiance themes, with a slight colour variation."
+arch=(any)
+url="https://launchpad.net/ubuntu-themes"
+license=(CCPL)
+depends=(humanity-icon-theme gnome-icon-theme hicolor-icon-theme
+ gtk-engine-unico gtk-engine-murrine)
+makedepends=(python2 imagemagick icon-naming-utils)
+provides=(ubuntu-themes ubuntu-mono)
+conflicts=(ubuntu-themes ubuntu-mono)
+install=${pkgname}.install
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/${_pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz"
+ gtk2.patch gtk3.patch)
+md5sums=('268d1c4a3ef375400f1cb990c4b635e0'
+ '82ca564f78217c88358fedc5003bf149'
+ 'b3808ebed9a637971a934646349cde69')
+
+prepare () {
+ cd "$srcdir"/${_pkgname}-${pkgver}/
+
+ patch Ambiance/gtk-2.0/gtkrc -i ../gtk2.patch
+ patch -Np0 -i "../gtk3.patch"
+
+ sed -i 's|^\(#!.*python$\)|\12|g' scavenge.py
+}
+
+build() {
+ cd "$srcdir"/${_pkgname}-${pkgver}/
+ make
+}
+
+package () {
+
+ cd "$srcdir"/${_pkgname}-${pkgver}/
+
+ # Install themes
+ install -dm755 "${pkgdir}/usr/share/themes/"
+ cp -rp "Ambiance" "$pkgdir/usr/share/themes"
+ cp -rp "Radiance" "$pkgdir/usr/share/themes"
+
+ # Install icons
+ install -dm755 "${pkgdir}/usr/share/icons/"
+ cp -av ubuntu-mono-dark/ "${pkgdir}/usr/share/icons/"
+ cp -av ubuntu-mono-light/ "${pkgdir}/usr/share/icons/"
+ cp -av LoginIcons/ "${pkgdir}/usr/share/icons/"
+ cp -av suru-icons/ "${pkgdir}/usr/share/icons/"
+ cp -av ubuntu-mobile/ "${pkgdir}/usr/share/icons/"
+
+ mv "${pkgdir}"/usr/share/icons/{suru-icons,suru}/
+
+ install -Dm644 distributor-logo.png \
+ "${pkgdir}/usr/share/icons/hicolor/48x48/apps/distributor-logo.png"
+}
diff --git a/gtk2.patch b/gtk2.patch
new file mode 100644
index 00000000000..5faa016b0ce
--- /dev/null
+++ b/gtk2.patch
@@ -0,0 +1,4 @@
+1c1
+< gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#ffffff\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F0\ntooltip_bg_color:#000000\nlink_color:#DD4814"
+---
+> gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#ffffff\nselected_bg_color:#7788b1\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F0\ntooltip_bg_color:#000000\nlink_color:#DD4814"
diff --git a/gtk3.patch b/gtk3.patch
new file mode 100644
index 00000000000..c67f69edaea
--- /dev/null
+++ b/gtk3.patch
@@ -0,0 +1,20 @@
+diff -Nuar Ambiance/gtk-3.0/gtk-main.css Ambiance/gtk-3.0/gtk-main.css
+--- Ambiance/gtk-3.0/gtk-main.css 2012-09-28 13:17:11.000000000 -0300
++++ Ambiance/gtk-3.0/gtk-main.css 2013-06-03 10:42:25.376319514 -0300
+@@ -3,7 +3,7 @@
+ @define-color fg_color #4c4c4c;
+ @define-color base_color #ffffff;
+ @define-color text_color #3C3C3C;
+-@define-color selected_bg_color #f07746;
++@define-color selected_bg_color #7788b1;
+ @define-color selected_fg_color #ffffff;
+ @define-color tooltip_bg_color #000000;
+ @define-color tooltip_fg_color #ffffff;
+diff -Nuar Ambiance/gtk-3.0/settings.ini Ambiance/gtk-3.0/settings.ini
+--- Ambiance/gtk-3.0/settings.ini 2012-09-28 13:17:11.000000000 -0300
++++ Ambiance/gtk-3.0/settings.ini 2013-06-03 10:41:03.175750601 -0300
+@@ -1,3 +1,3 @@
+ [Settings]
+-gtk-color-scheme = "base_color:#ffffff\nbg_color:#f2f1f0\ntooltip_bg_color:#000000\nselected_bg_color:#f07746\ntext_color:#3C3C3C\nfg_color:#4c4c4c\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff\nlink_color:#DD4814\nbg_color_dark:#3c3b37\nfg_color_dark:#dfdbd2"
++gtk-color-scheme = "base_color:#ffffff\nbg_color:#f2f1f0\ntooltip_bg_color:#000000\nselected_bg_color:#7788b1\ntext_color:#3C3C3C\nfg_color:#4c4c4c\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff\nlink_color:#DD4814\nbg_color_dark:#3c3b37\nfg_color_dark:#dfdbd2"
+ gtk-auto-mnemonics = 1
diff --git a/ubuntu-themes-wildblueyonder.install b/ubuntu-themes-wildblueyonder.install
new file mode 100644
index 00000000000..13f15bf8ea3
--- /dev/null
+++ b/ubuntu-themes-wildblueyonder.install
@@ -0,0 +1,15 @@
+post_install() {
+ if [ -x $(which gtk-update-icon-cache) ]; then
+ gtk-update-icon-cache -q -t -f usr/share/icons/LoginIcons/
+ gtk-update-icon-cache -q -t -f usr/share/icons/ubuntu-mono-dark/
+ gtk-update-icon-cache -q -t -f usr/share/icons/ubuntu-mono-light/
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}