office/apvlv: Update for 0.6.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-07-19 19:19:13 -07:00 committed by Willy Sudiarto Raharjo
parent 79cc99b629
commit fe513cccc1
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 11 additions and 9 deletions

View File

@ -7,4 +7,5 @@ viewing a directory as contents of a pdf document. Press 'k' or 'j'
to move selected up or down, 'h' or 'l' to collapse or expand a dir,
and pressing 't' will open the selected document in a new tab.
This SlackBuild additionally enables DjVu and text file support.
This SlackBuild additionally enables DjVu support (text file support is
provided by default).

View File

@ -31,11 +31,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=apvlv
VERSION=${VERSION:-0.5.0}
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$VERSION-final
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@ -72,9 +74,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-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -95,7 +97,6 @@ cd build
-DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DAPVLV_WITH_DJVU=yes \
-DAPVLV_WITH_TXT=yes \
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION
make VERBOSE=1
make install/strip DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="apvlv"
VERSION="0.5.0"
VERSION="0.6.0"
HOMEPAGE="https://github.com/naihe2010/apvlv/"
DOWNLOAD="https://github.com/naihe2010/apvlv/archive/v0.5.0/apvlv-0.5.0.tar.gz"
MD5SUM="f89a73deb563d100104ad2f8dc786a91"
DOWNLOAD="https://github.com/naihe2010/apvlv/archive/v0.6.0-final/apvlv-0.6.0-final.tar.gz"
MD5SUM="303470053f3a35bbb7eb8c76160188ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk"