diff options
Diffstat (limited to 'graphics/mcomix/mcomix.SlackBuild')
-rw-r--r-- | graphics/mcomix/mcomix.SlackBuild | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild index 27ada6a954..5a05d2dae4 100644 --- a/graphics/mcomix/mcomix.SlackBuild +++ b/graphics/mcomix/mcomix.SlackBuild @@ -6,7 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230905 bkw: update for v2.3.0 +# 20230822 bkw: update for v2.2.1. # 20230625 bkw: update for v2.1.1. + # Note to self: it would be possible to use bsdtar in place of unrar # and p7zip, but it would require too much patching. Better to talk # upstream into adding it as an option. @@ -20,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mcomix -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,12 +59,22 @@ cd $PRGNAM-$VERSION chown -R root:root . # Bad tarball permissions (every file is +x), please do not "fix" this # by reverting to template. -find . -type f -a -exec chmod 644 {} \+ -o \ - -type d -a -exec chmod 755 {} \+ +find . -type f -a -exec chmod 644 {} + -o \ + -type d -a -exec chmod 755 {} + sed -i 's,share/man,man,g' setup.py python3 setup.py install --root=$PKG +# 20230905 bkw: 2.2.1 has good icons. The ones in 2.3.0 are wrong-sized, +# e.g. the "32x32" one is actually 32x24. So I made a tarball of the old +# icons... which didn't include the giant 256x256 one. +rm -rf $PKG/usr/share/icons/hicolor/256x256 +( cd $PKG ; tar xvf $CWD/mcomix-good-icons.tar.xz ) +mkdir -p $PKG/usr/share/pixmaps + +# 20230905 bkw: old-style icon. +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png + PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC cp -a COPYING README ChangeLog $PKGDOC |