summaryrefslogtreecommitdiff
path: root/system/heirloom-doctools/heirloom-doctools.SlackBuild
diff options
context:
space:
mode:
authorRuben Schuller <ruben@orgizm.net>2014-12-19 13:00:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-19 13:03:08 +0700
commit32b6aa68a4b2a4baf6ece6dd1a631d96deb63bee (patch)
tree6efdf3019e736ec851686d2597d8331869cc2d53 /system/heirloom-doctools/heirloom-doctools.SlackBuild
parent83e479476c2d717e285ca2e06a0f4117faf0f78b (diff)
downloadslackbuilds-32b6aa68a4b2a4baf6ece6dd1a631d96deb63bee.tar.gz
system/heirloom-doctools: Updated for version 141217.
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.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}