mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
development/meld3: Updated for version 3.22.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e75d9a5a6c
commit
41203c988b
2 changed files with 21 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for meld3
|
# Slackware build script for meld3
|
||||||
|
|
||||||
# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
# Copyright 2014-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=meld3
|
PRGNAM=meld3
|
||||||
SRCNAM=meld
|
SRCNAM=meld
|
||||||
VERSION=${VERSION:-3.20.4}
|
VERSION=${VERSION:-3.22.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -80,14 +77,26 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python3 setup.py install --root=$PKG
|
mkdir build
|
||||||
|
cd build
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
meson .. \
|
||||||
|
--buildtype=release \
|
||||||
|
--infodir=/usr/info \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
-Dstrip=true
|
||||||
|
"${NINJA:=ninja}"
|
||||||
|
DESTDIR=$PKG $NINJA install
|
||||||
|
cd ..
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
mv $PKG/usr/share/doc/$SRCNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
rm -rf $PKG/usr/share/doc/
|
|
||||||
|
|
||||||
mv $PKG/usr/share/man $PKG/usr
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
rm -f $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
|
rm -f $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="meld3"
|
PRGNAM="meld3"
|
||||||
VERSION="3.20.4"
|
VERSION="3.22.0"
|
||||||
HOMEPAGE="http://meldmerge.org/"
|
HOMEPAGE="http://meldmerge.org/"
|
||||||
DOWNLOAD="https://download.gnome.org/sources/meld/3.20/meld-3.20.4.tar.xz"
|
DOWNLOAD="https://download.gnome.org/sources/meld/3.22/meld-3.22.0.tar.xz"
|
||||||
MD5SUM="318b98861d546526fc122dea9dc90257"
|
MD5SUM="c32fa8675137e0d0c7334c4fc2de6114"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue