diff options
-rw-r--r-- | office/odt2txt/odt2txt.SlackBuild | 12 | ||||
-rw-r--r-- | office/odt2txt/odt2txt.info | 4 |
2 files changed, 7 insertions, 9 deletions
diff --git a/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild index 1d25396ba05f8..e16fc15bda56c 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 diff --git a/office/odt2txt/odt2txt.info b/office/odt2txt/odt2txt.info index 1f7f5bb60b985..1c5319d9dd4d5 100644 --- a/office/odt2txt/odt2txt.info +++ b/office/odt2txt/odt2txt.info @@ -1,8 +1,8 @@ PRGNAM="odt2txt" VERSION="0.4" HOMEPAGE="http://stosberg.net/odt2txt/" -DOWNLOAD="http://stosberg.net/odt2txt/odt2txt-0.4.tar.gz" -MD5SUM="6fe3bd261ce2dde2810244bbe969bbc5" +DOWNLOAD="https://github.com/dstosberg/odt2txt/archive/v0.4.tar.gz" +MD5SUM="083872163713a5f9ab0b48c7c6c5557a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |