diff options
Diffstat (limited to 'desktop/bumblebee-status/bumblebee-status.SlackBuild')
-rw-r--r-- | desktop/bumblebee-status/bumblebee-status.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/bumblebee-status/bumblebee-status.SlackBuild b/desktop/bumblebee-status/bumblebee-status.SlackBuild index d4d348fa20dde..511681c6af2a9 100644 --- a/desktop/bumblebee-status/bumblebee-status.SlackBuild +++ b/desktop/bumblebee-status/bumblebee-status.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bumblebee-status -VERSION=${VERSION:-2.1.6} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,9 +78,16 @@ find -L . \ python3 setup.py install --root=$PKG +mv $PKG/usr/share/man $PKG/usr/man +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 + +find $PKG/ -size -1M -exec rm -f {} \; + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE *.md docs/* $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 0644 {} \; +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |