diff options
author | Ruben Schuller <ruben@orgizm.net> | 2014-12-08 06:51:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-08 10:17:10 +0700 |
commit | 460649dfb6693a633d52bab690ab300095d72610 (patch) | |
tree | 58b76878f19597387bc5c785f71cec692b114289 /system/heirloom-doctools/heirloom-doctools.SlackBuild | |
parent | 8c18aeb3d406aa84fc291368d9fd0c74fde66851 (diff) |
system/heirloom-doctools: Updated for version 141029.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/heirloom-doctools/heirloom-doctools.SlackBuild')
-rw-r--r-- | system/heirloom-doctools/heirloom-doctools.SlackBuild | 22 |
1 files changed, 10 insertions, 12 deletions
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 |