network/movgrab: Updated for version 3.1.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-05-01 10:01:01 +07:00
parent d39ebb18fe
commit 10a93c0dd4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 10 additions and 17 deletions

View file

@ -6,7 +6,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=movgrab
VERSION=${VERSION:-1.2.1}
SRCNAM=Movgrab
VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -19,9 +20,6 @@ if [ -z "$ARCH" ]; then
esac
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
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -50,9 +48,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 $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -62,7 +60,6 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS"
autoreconf # otherwise fails with libUseful
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@ -80,13 +77,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/libUseful-2.0
cp -a \
Docs/* README LICENCE CHANGES \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
libUseful-2.0/Docs/* \
$PKG/usr/doc/$PRGNAM-$VERSION/libUseful-2.0
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="movgrab"
VERSION="1.2.1"
HOMEPAGE="http://sites.google.com/site/columscode/home/movgrab"
DOWNLOAD="https://sites.google.com/site/columscode/files/movgrab-1.2.1.tar.gz"
MD5SUM="db162d6963b9753d6235f23419d08a5a"
VERSION="3.1.2"
HOMEPAGE="https://github.com/ColumPaget/Movgrab"
DOWNLOAD="https://github.com/ColumPaget/Movgrab/archive/3.1.2/Movgrab-3.1.2.tar.gz"
MD5SUM="567faf36bf7f75b30e6098050688fbd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -12,7 +12,7 @@ movgrab: movgrab is a downloader for all those pesky sites that insist you use
movgrab: a big fat browser that runs flash in order to see their content.
movgrab: It's a command-line app written in straight C.
movgrab:
movgrab: homepage: http://sites.google.com/site/columscode/home/movgrab
movgrab: homepage: https://github.com/ColumPaget/Movgrab
movgrab:
movgrab:
movgrab: