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.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/system/heirloom-doctools/heirloom-doctools.SlackBuild b/system/heirloom-doctools/heirloom-doctools.SlackBuild
index cb77cb258a..5b2e73a1b2 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:-141029}
+VERSION=${VERSION:-141217}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
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 \
@@ -85,21 +84,17 @@ cp -ar \
$CWD/$PRGNAM/LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
else
-cp -ar \
- README \
- LICENSE \
- LICENSE.d \
- CHANGES \
- CHANGES_GR \
- $PKG/usr/doc/$PRGNAM-$VERSION
+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
mkdir -p $PKG/etc/profile.d
-cp $CWD/profile.d/heirloom.{csh,sh} $PKG/etc/profile.d
+cp $CWD/profile.d/heirloom.csh $PKG/etc/profile.d/heirloom.csh.new
+cp $CWD/profile.d/heirloom.sh $PKG/etc/profile.d/heirloom.sh.new
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}