summaryrefslogtreecommitdiffstats
path: root/source/l/libvorbis/libvorbis.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libvorbis/libvorbis.SlackBuild')
-rwxr-xr-xsource/l/libvorbis/libvorbis.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/l/libvorbis/libvorbis.SlackBuild b/source/l/libvorbis/libvorbis.SlackBuild
index 9fae85d65..be5558758 100755
--- a/source/l/libvorbis/libvorbis.SlackBuild
+++ b/source/l/libvorbis/libvorbis.SlackBuild
@@ -86,6 +86,14 @@ cp -a \
AUTHORS COPYING HACKING README \
$PKG/usr/doc/libvorbis-$VERSION
+# If there's a ChangeLog, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc