office/traduisons: Updated for version 0.6.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-07-22 15:57:34 +07:00
parent b56d7e5eb7
commit 9348ea592a
2 changed files with 11 additions and 13 deletions

View file

@ -5,13 +5,13 @@
# Written by John Tyree johntyree@gmail.com
PRGNAM=traduisons
VERSION=${VERSION:-0.4.3}
VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -32,17 +32,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGELOG LICENSE README PKG-INFO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="traduisons"
VERSION="0.4.3"
HOMEPAGE="http://traduisons.googlecode.com"
DOWNLOAD="http://traduisons.googlecode.com/files/traduisons-0.4.3.tar.gz"
MD5SUM="fc23d17917ea503adc0b62293e8112e8"
VERSION="0.6.1"
HOMEPAGE="https://pypi.python.org/pypi/traduisons/0.6.1"
DOWNLOAD="https://pypi.python.org/packages/31/80/e719be594ef751eb89c0f635163d65b296b771aeea205e9e5cf899b28dd5/traduisons-0.6.1.tar.gz"
MD5SUM="9ed528b6ff7df81686a84e1611bd2845"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""