summaryrefslogtreecommitdiff
path: root/pcr/elementary-gtk-theme
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/elementary-gtk-theme')
-rw-r--r--pcr/elementary-gtk-theme/PKGBUILD27
-rw-r--r--pcr/elementary-gtk-theme/elementary-gtk-theme.install10
2 files changed, 37 insertions, 0 deletions
diff --git a/pcr/elementary-gtk-theme/PKGBUILD b/pcr/elementary-gtk-theme/PKGBUILD
new file mode 100644
index 000000000..d2495da03
--- /dev/null
+++ b/pcr/elementary-gtk-theme/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer (Arch): paterbrown <paterbrown at silberhelme dot de>
+# Contributor (Arch): Daniel Milde <info@milde.cz>
+
+pkgname=elementary-gtk-theme
+_pkgname=egtk
+pkgver=2.1
+pkgrel=5
+pkgdesc="The official elementary GTK theme designed to be smooth, attractive, fast, and usable."
+arch=('any')
+url="https://launchpad.net/egtk"
+license=('GPL2')
+depends=('gtk-engine-murrine')
+optdepends=('elementary-icons: the elementary icon theme'
+ 'nautilus-elementary-bzr: the fork of Nautilus for simplicity')
+source=(http://launchpad.net/egtk/2.0/${pkgver}/+download/${_pkgname}.zip)
+md5sums=('f685d659c72271944ca2e76d638ca2ed')
+install=elementary-gtk-theme.install
+
+build () {
+ mkdir -p ${pkgdir}/usr/share/themes
+ cp -r ${srcdir}/${_pkgname} ${pkgdir}/usr/share/themes/elementary
+
+ # remove unnecessary files
+ rm -rf ${pkgdir}/usr/share/themes/elementary/debian
+ rm -rf ${pkgdir}/usr/share/themes/elementary/.bzr
+}
+
diff --git a/pcr/elementary-gtk-theme/elementary-gtk-theme.install b/pcr/elementary-gtk-theme/elementary-gtk-theme.install
new file mode 100644
index 000000000..66264ead4
--- /dev/null
+++ b/pcr/elementary-gtk-theme/elementary-gtk-theme.install
@@ -0,0 +1,10 @@
+pkgname=elementary-gtk-theme
+
+post_install() {
+ echo -e "\033[1;34mIf you prefer the light panel then follow this instruction:\033[0m"
+ echo -e "change '\033[1;32minclude "Apps/panel-dark.rc"\033[0m' to '\033[1;32minclude "Apps/panel.rc"\033[0m' in '/usr/share/themes/elementary/gtk-2.0/gtkrc'"
+}
+
+post_upgrade() {
+ post_install $1
+}