diff options
Diffstat (limited to 'source/x/xdg-user-dirs')
-rwxr-xr-x | source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild | 10 |
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 0b5b65dc..c6cd2332 100755 --- a/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild +++ b/source/x/xdg-user-dirs/xdg-user-dirs.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for xdg-user-dirs # Copyright 2010 Robby Workman, Northport, Alabama, USA +# Copyright 2014 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=xdg-user-dirs -VERSION=${VERSION:-0.14} +VERSION=${VERSION:-0.15} BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then @@ -84,6 +85,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mv $PKG/etc/xdg/user-dirs.conf $PKG/etc/xdg/user-dirs.conf.new mv $PKG/etc/xdg/user-dirs.defaults $PKG/etc/xdg/user-dirs.defaults.new +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ AUTHORS COPYING* INSTALL NEWS README* TODO \ |