summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2022-10-08 15:37:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 10:47:27 +0700
commitf68d11b30192a5ac78030ff8b6bb80a0f6533bfa (patch)
treeab2af48159e9a0f6d22eabc549b001957b74d3c8 /graphics
parent5d475cee038e90f1f393cac56936308c200d889c (diff)
downloadslackbuilds-f68d11b30192a5ac78030ff8b6bb80a0f6533bfa.tar.gz
graphics/mtpaint: Updated for version 3.50.09.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-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 7302f81716..d21f0057d6 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 67c074a32b..7445e006a8 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=""