mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
office/apvlv: Update for 0.6.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
79cc99b629
commit
fe513cccc1
3 changed files with 11 additions and 9 deletions
|
@ -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,
|
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.
|
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).
|
||||||
|
|
|
@ -31,11 +31,13 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=apvlv
|
PRGNAM=apvlv
|
||||||
VERSION=${VERSION:-0.5.0}
|
VERSION=${VERSION:-0.6.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
SRCVER=$VERSION-final
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i586 ;;
|
i?86) ARCH=i586 ;;
|
||||||
|
@ -72,9 +74,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$SRCVER
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$SRCVER
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -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_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DAPVLV_WITH_DJVU=yes \
|
-DAPVLV_WITH_DJVU=yes \
|
||||||
-DAPVLV_WITH_TXT=yes \
|
|
||||||
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION
|
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION
|
||||||
make VERBOSE=1
|
make VERBOSE=1
|
||||||
make install/strip DESTDIR=$PKG
|
make install/strip DESTDIR=$PKG
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="apvlv"
|
PRGNAM="apvlv"
|
||||||
VERSION="0.5.0"
|
VERSION="0.6.0"
|
||||||
HOMEPAGE="https://github.com/naihe2010/apvlv/"
|
HOMEPAGE="https://github.com/naihe2010/apvlv/"
|
||||||
DOWNLOAD="https://github.com/naihe2010/apvlv/archive/v0.5.0/apvlv-0.5.0.tar.gz"
|
DOWNLOAD="https://github.com/naihe2010/apvlv/archive/v0.6.0-final/apvlv-0.6.0-final.tar.gz"
|
||||||
MD5SUM="f89a73deb563d100104ad2f8dc786a91"
|
MD5SUM="303470053f3a35bbb7eb8c76160188ea"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="webkit2gtk"
|
REQUIRES="webkit2gtk"
|
||||||
|
|
Loading…
Reference in a new issue