diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-19 18:41:59 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:17 +0700 |
commit | 4ac1f9d389eb4d7bcefbe00bf17bbb8182afaa69 (patch) | |
tree | 49670d6639899ff35b2618e56f6f82707613f967 /games/img2xterm/img2xterm.SlackBuild | |
parent | 24d27c9175b02474d70c9b145f4bf2d5a4834877 (diff) |
games/img2xterm: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/img2xterm/img2xterm.SlackBuild')
-rw-r--r-- | games/img2xterm/img2xterm.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/games/img2xterm/img2xterm.SlackBuild b/games/img2xterm/img2xterm.SlackBuild index 1bc5a92ae6d23..d2911a026877b 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 |