summaryrefslogtreecommitdiff
path: root/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild')
-rwxr-xr-xsource/x/xdg-user-dirs/xdg-user-dirs.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild b/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild
index d3b96542..0b5b65dc 100755
--- a/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild
+++ b/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAM=xdg-user-dirs
-VERSION=${VERSION:-0.13}
+VERSION=${VERSION:-0.14}
BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
@@ -89,6 +89,14 @@ cp -a \
AUTHORS COPYING* INSTALL NEWS README* TODO \
$PKG/usr/doc/$PKGNAM-$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
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh