diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-08 05:14:56 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-15 17:30:10 +0700 |
commit | f0255a3492c2a396a1ecb5c1fcbaa7f9cc357e1f (patch) | |
tree | 476754fd5b79f46b022638823fb77179ebceed5c /system | |
parent | 4782246a8b7399af0e15ec911824a2c759a57078 (diff) |
system/fsviewer: Fix install path.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/fsviewer/fsviewer.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/system/fsviewer/fsviewer.SlackBuild b/system/fsviewer/fsviewer.SlackBuild index c0546a3a10aa6..4f536cd280614 100644 --- a/system/fsviewer/fsviewer.SlackBuild +++ b/system/fsviewer/fsviewer.SlackBuild @@ -6,13 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230708 bkw: BUILD=3, install to the same Applications dir as +# windowmaker's WPrefs.app (and no creating /usr/GNUstep, which was +# never a good idea). # 20210825 bkw: fix build on -current, BUILD=2. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fsviewer VERSION=${VERSION:-0.2.6} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +82,7 @@ LIBS="-lWUtil -lX11 -lm -lXpm" \ CFLAGS="$SLKCFLAGS -std=gnu89" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ + --with-appspath=/usr/lib$LIBDIRSUFFIX/GNUstep/Applications \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ @@ -97,7 +101,7 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/bin install -s -m0755 defs/chdef $PKG/usr/bin -ln -s ../GNUstep/Apps/FSViewer.app/FSViewer $PKG/usr/bin/$PRGNAM +ln -s ../lib$LIBDIRSUFFIX/GNUstep/Applications/FSViewer.app/FSViewer $PKG/usr/bin/$PRGNAM gzip -9 $PKG/usr/man/man1/* @@ -109,7 +113,7 @@ cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop # I like the look of FSViewer2.xpm better. You could use FSViewer.xpm if # you prefer. mkdir -p $PKG/usr/share/pixmaps -ln -s ../../GNUstep/Apps/FSViewer.app/xpm/FSViewer2.xpm \ +ln -s ../../lib$LIBDIRSUFFIX/GNUstep/Applications/FSViewer.app/xpm/FSViewer2.xpm \ $PKG/usr/share/pixmaps/$PRGNAM.xpm mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |