diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2024-11-03 17:35:56 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-11-09 07:02:42 +0700 |
commit | 60b359d095102d9a0008899821d5a2ef3827af0e (patch) | |
tree | 1ef26bcf82acf617245bdbfb1c16d3356af62526 | |
parent | 84cf44a3e94ffb3afd3cc24e88665792d8aeb77e (diff) |
network/megatools: Updated for version 1.11.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/megatools/megatools.SlackBuild | 44 | ||||
-rw-r--r-- | network/megatools/megatools.info | 6 |
2 files changed, 25 insertions, 25 deletions
diff --git a/network/megatools/megatools.SlackBuild b/network/megatools/megatools.SlackBuild index 445f614e84e5..d178e6635490 100644 --- a/network/megatools/megatools.SlackBuild +++ b/network/megatools/megatools.SlackBuild @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=megatools -VERSION=${VERSION:-1.10.3} +VERSION=${VERSION:-1.11.1} +EXTRAVER=${EXTRAVER:-20241028} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,9 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-${VERSION}.${EXTRAVER} +tar xvf $CWD/$PRGNAM-${VERSION}.${EXTRAVER}.tar.gz +cd $PRGNAM-${VERSION}.${EXTRAVER} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,30 +80,29 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -#autoreconf -vi -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --enable-maintainer-mode \ - --enable-warnings \ - --enable-docs-build \ - --mandir=/usr/man \ - --enable-static=no \ - --build=$ARCH-slackware-linux - -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 .. 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - HACKING LICENSE NEWS README TODO \ + LICENSE NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/megatools/megatools.info b/network/megatools/megatools.info index 29028d7511f8..36336785948c 100644 --- a/network/megatools/megatools.info +++ b/network/megatools/megatools.info @@ -1,8 +1,8 @@ PRGNAM="megatools" -VERSION="1.10.3" +VERSION="1.11.1" HOMEPAGE="https://megatools.megous.com/" -DOWNLOAD="https://megatools.megous.com/builds/megatools-1.10.3.tar.gz" -MD5SUM="e5f85f5f5d4fe844a6090a2816eabcae" +DOWNLOAD="https://megatools.megous.com/builds/megatools-1.11.1.20241028.tar.gz" +MD5SUM="2816afe8b604b19cd7e5eef67d2de074" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |