diff options
-rw-r--r-- | system/gnome-commander/gnome-commander.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/system/gnome-commander/gnome-commander.SlackBuild b/system/gnome-commander/gnome-commander.SlackBuild index 52bd35eba2..209758e956 100644 --- a/system/gnome-commander/gnome-commander.SlackBuild +++ b/system/gnome-commander/gnome-commander.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix icon sizes. +# - relative symlinks in /usr/share/help. # 20220211 bkw: Modified by SlackBuilds.org # - updated for latest release, 1.14.0, since the old version wouldn't # build on 15.0. @@ -31,7 +34,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gnome-commander VERSION=${VERSION:-1.14.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -101,10 +104,16 @@ for px in 16 32 48 64 128; do size=${px}x${px} dir=$PKG/usr/share/icons/hicolor/$size/apps mkdir -p $dir - convert pixmaps/gnome-commander.svg $dir/$PRGNAM.png + convert -geometry $size pixmaps/gnome-commander.svg $dir/$PRGNAM.png done -ln -s ../icons/hicolor/48x48/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png + +# 20220411 bkw: convert absolute symlinks to relative. ugh. +for i in $( find $PKG/usr/share/help/?? -type l -lname /usr/share/help/C/\* ); do + rm -f $i + ln -s ../../../C/$PRGNAM/figures/$( basename $i ) $i +done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS BUGS COPYING ChangeLog README TODO \ |