From 460649dfb6693a633d52bab690ab300095d72610 Mon Sep 17 00:00:00 2001 From: Ruben Schuller Date: Mon, 8 Dec 2014 06:51:11 +0700 Subject: system/heirloom-doctools: Updated for version 141029. Signed-off-by: Willy Sudiarto Raharjo --- .../heirloom-doctools/heirloom-doctools.SlackBuild | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'system/heirloom-doctools/heirloom-doctools.SlackBuild') diff --git a/system/heirloom-doctools/heirloom-doctools.SlackBuild b/system/heirloom-doctools/heirloom-doctools.SlackBuild index b7ae0f2953e36..cb77cb258ac0c 100644 --- a/system/heirloom-doctools/heirloom-doctools.SlackBuild +++ b/system/heirloom-doctools/heirloom-doctools.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=heirloom-doctools -VERSION=${VERSION:-080407} +VERSION=${VERSION:-141029} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,20 +60,15 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ "$VERSION" = "latest" ]; then - cp -r $CWD/$PRGNAM . - cd $PRGNAM -else - tar xvf $CWD/$PRGNAM-${VERSION}.tar.bz2 - cd $PRGNAM-$VERSION -fi +tar xvf $CWD/$PRGNAM-${VERSION}.tar.bz2 +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 {} \; patch < $CWD/patches/mk.config.patch-$VERSION @@ -93,6 +88,9 @@ else cp -ar \ README \ LICENSE \ + LICENSE.d \ + CHANGES \ + CHANGES_GR \ $PKG/usr/doc/$PRGNAM-$VERSION fi cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3