diff options
Diffstat (limited to 'elementary/elementary-gtk-theme')
-rw-r--r-- | elementary/elementary-gtk-theme/PKGBUILD | 27 | ||||
-rw-r--r-- | elementary/elementary-gtk-theme/elementary-gtk-theme.install | 10 |
2 files changed, 37 insertions, 0 deletions
diff --git a/elementary/elementary-gtk-theme/PKGBUILD b/elementary/elementary-gtk-theme/PKGBUILD new file mode 100644 index 000000000..64f4a4511 --- /dev/null +++ b/elementary/elementary-gtk-theme/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: paterbrown <paterbrown at silberhelme dot de> +# Contributor: 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/elementary/elementary-gtk-theme/elementary-gtk-theme.install b/elementary/elementary-gtk-theme/elementary-gtk-theme.install new file mode 100644 index 000000000..66264ead4 --- /dev/null +++ b/elementary/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 +} |