diff options
Diffstat (limited to 'office/odt2txt/odt2txt.SlackBuild')
-rw-r--r-- | office/odt2txt/odt2txt.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild index 1d25396ba0..e16fc15bda 100644 --- a/office/odt2txt/odt2txt.SlackBuild +++ b/office/odt2txt/odt2txt.SlackBuild @@ -4,7 +4,7 @@ # Written by sercari <sercari@esdebian.org> PRGNAM=odt2txt -VERSION=0.4 +VERSION=${VERSION:-0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,15 +40,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf $PRGNAM-v$VERSION +tar xvf $CWD/v$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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -64,9 +64,7 @@ rm -rf $PKG/usr/share ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - GPL-2 INSTALL \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a GPL-2 INSTALL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |