summaryrefslogtreecommitdiff
path: root/system/heirloom-doctools/heirloom-doctools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/heirloom-doctools/heirloom-doctools.SlackBuild')
-rw-r--r--system/heirloom-doctools/heirloom-doctools.SlackBuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/system/heirloom-doctools/heirloom-doctools.SlackBuild b/system/heirloom-doctools/heirloom-doctools.SlackBuild
index b7ae0f2953..cb77cb258a 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