From 4ac1f9d389eb4d7bcefbe00bf17bbb8182afaa69 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 19 Oct 2021 18:41:59 -0400 Subject: games/img2xterm: Remove template comment. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/img2xterm/img2xterm.SlackBuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'games/img2xterm/img2xterm.SlackBuild') diff --git a/games/img2xterm/img2xterm.SlackBuild b/games/img2xterm/img2xterm.SlackBuild index 1bc5a92ae6..d2911a0268 100644 --- a/games/img2xterm/img2xterm.SlackBuild +++ b/games/img2xterm/img2xterm.SlackBuild @@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -60,7 +57,7 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -# Fix an header path for imagemagick >= 7.x +# Fix a header path for imagemagick >= 7.x sed -i "s|wand/MagickWand|MagickWand/MagickWand|" img2xterm.c # Hardcoded stuffs. The LN line turns the absolute symlinks into @@ -78,7 +75,7 @@ make install PREFIX=$PKG/usr # Include the stuff from extra/. To do this, we have to find out the # version of gimp to install the palette file for. case "${GIMPVER:-auto}" in - auto) GIMPVER=$(/bin/ls -d /usr/share/gimp/[0-9]*/ | sort -V | cut -d/ -f5) ;; + auto) GIMPVER=$(/bin/ls -d /usr/share/gimp/[0-9]*/ | sort -V | head -1 | cut -d/ -f5) ;; *) GIMPVER=$(echo $GIMPVER | cut -d. -f1,2) ;; esac -- cgit v1.2.3