[arch-commits] Commit in gnome-themes/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Feb 26 15:51:04 UTC 2011
Date: Saturday, February 26, 2011 @ 10:51:04
Author: heftig
Revision: 111412
upgpkg: gnome-themes 2.91.90-1
Update for gnome-unstable
Modified:
gnome-themes/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-26 15:45:38 UTC (rev 111411)
+++ PKGBUILD 2011-02-26 15:51:04 UTC (rev 111412)
@@ -7,7 +7,7 @@
pkgdesc="Default themes for GNOME"
arch=(any)
license=('LGPL')
-depends=('gtk-engines' 'librsvg')
+depends=('librsvg' 'gtk-engines' 'gtk3-engines')
makedepends=('intltool' 'icon-naming-utils')
url="http://www.gnome.org"
groups=('gnome')
@@ -26,4 +26,12 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+
+ cd "$pkgdir/usr/share/themes"
+ for _theme in *; do
+ if [[ -f $_theme/gtk-3.0/gtkrc ]]; then
+ mkdir $_theme/gtk-2.0
+ ln -s ../gtk-3.0/gtkrc $_theme/gtk-2.0/gtkrc
+ fi
+ done
}
More information about the arch-commits
mailing list