aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild16
-rw-r--r--graphics/mtpaint/mtpaint.info8
2 files changed, 15 insertions, 9 deletions
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index 7302f8171697..d21f0057d616 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mtpaint
-# Copyright 2020-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2020-2022 Petar Petrov slackalaxy@gmail.com
# Copyright 2010-2020 slackmagik <slakmagik@gmail.com>
# All rights reserved.
#
@@ -26,11 +26,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mtpaint
-VERSION=${VERSION:-3.50}
+VERSION=${VERSION:-3.50.09}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=mtPaint
+COMMIT=199472ad6a4ecee6c8583fb5a504a2e99712b4fc
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -78,9 +81,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $SRCNAM-$COMMIT
chown -R root:root .
find -L . \
@@ -101,6 +104,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make DESTDIR=$PKG install
+# key "Encoding" is deprecated
+sed -i '/^Encoding/d' $PKG/usr/share/applications/$PRGNAM.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a NEWS README COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/mtpaint/mtpaint.info b/graphics/mtpaint/mtpaint.info
index 67c074a32b9b..7445e006a8c0 100644
--- a/graphics/mtpaint/mtpaint.info
+++ b/graphics/mtpaint/mtpaint.info
@@ -1,8 +1,8 @@
PRGNAM="mtpaint"
-VERSION="3.50"
-HOMEPAGE="https://sourceforge.net/projects/mtpaint/"
-DOWNLOAD="https://sourceforge.net/projects/mtpaint/files/mtpaint/3.50/mtpaint-3.50.tar.bz2"
-MD5SUM="bd50c57259e22a96989b9c923743d1d0"
+VERSION="3.50.09"
+HOMEPAGE="https://github.com/wjaguar/mtpaint"
+DOWNLOAD="https://github.com/wjaguar/mtPaint/archive/199472a/mtpaint-199472ad6a4ecee6c8583fb5a504a2e99712b4fc.tar.gz"
+MD5SUM="1ca875b797b9be1b715501702f7faabc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""