Date: Sunday, January 26, 2014 @ 15:34:50
  Author: andyrtr
Revision: 204764

upgpkg: windowmaker 0.95.5-3

fix WPrefs path, fix FS#3080

Modified:
  windowmaker/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-01-26 12:19:58 UTC (rev 204763)
+++ PKGBUILD    2014-01-26 14:34:50 UTC (rev 204764)
@@ -4,7 +4,7 @@
 
 pkgname=windowmaker
 pkgver=0.95.5
-pkgrel=2
+pkgrel=3
 pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
 arch=('i686' 'x86_64')
 url="http://www.windowmaker.org/";
@@ -21,6 +21,15 @@
   cd WindowMaker-$pkgver
   patch -Np0 -i ../wm-giflib.patch
   autoreconf -fi
+  
+  # fix some paths FS#3080 - ckeck also Gentoo ebuild
+  for file in WindowMaker/*menu* util/wmgenmenu.c; do
+       if [[ -r $file ]] ; then
+       sed -i -e 
"s:/usr/local/GNUstep/Applications/WPrefs.app:/usr/lib/GNUstep/Applications/WPrefs.app:g;"
 "$file"
+       sed -i -e "s:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;" 
"$file"
+       sed -i -e "s:/opt/share/WindowMaker:/usr/share/WindowMaker:g;" "$file"
+       fi;
+  done;
 }
 
 build() {

Reply via email to