python/python-djvulibre: Renamed python2-djvulibre.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
551a01b5f3
commit
6573ca7250
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
python-djvulibre: python-djvulibre (python bindings for djvulibre)
|
||||
python-djvulibre:
|
||||
python-djvulibre: python-djvulibre is a set of Python bindings for the DjVuLibre
|
||||
python-djvulibre: library, an open source implementation of DjVu.
|
||||
python-djvulibre:
|
||||
python-djvulibre:
|
||||
python-djvulibre:
|
||||
python-djvulibre:
|
||||
python-djvulibre:
|
||||
python-djvulibre:
|
||||
python-djvulibre:
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
PRGNAM=python-djvulibre
|
||||
PRGNAM=python2-djvulibre
|
||||
SRCNAM=python-djvulibre
|
||||
VERSION=${VERSION:-0.8.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -36,9 +37,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 \
|
||||
|
@ -46,7 +47,7 @@ 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 {} \;
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
python2 setup.py install --root=$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
|
|
@ -1,4 +1,4 @@
|
|||
PRGNAM="python-djvulibre"
|
||||
PRGNAM="python2-djvulibre"
|
||||
VERSION="0.8.5"
|
||||
HOMEPAGE="http://jwilk.net/software/python-djvulibre"
|
||||
DOWNLOAD="https://github.com/jwilk/python-djvulibre/archive/0.8.5/python-djvulibre-0.8.5.tar.gz"
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
python2-djvulibre: python2-djvulibre (python bindings for djvulibre)
|
||||
python2-djvulibre:
|
||||
python2-djvulibre: python2-djvulibre is a set of Python bindings for the DjVuLibre
|
||||
python2-djvulibre: library, an open source implementation of DjVu.
|
||||
python2-djvulibre:
|
||||
python2-djvulibre:
|
||||
python2-djvulibre:
|
||||
python2-djvulibre:
|
||||
python2-djvulibre:
|
||||
python2-djvulibre:
|
||||
python2-djvulibre:
|
Loading…
Reference in New Issue