summaryrefslogtreecommitdiff
path: root/desktop/menutray/menutray.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/menutray/menutray.SlackBuild')
-rw-r--r--desktop/menutray/menutray.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/desktop/menutray/menutray.SlackBuild b/desktop/menutray/menutray.SlackBuild
index a348e243b6..4a6de1300e 100644
--- a/desktop/menutray/menutray.SlackBuild
+++ b/desktop/menutray/menutray.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
+#
# Slackware build script for menutray.
-# Home page: https://github.com/trizen/menutray.
-
+#
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=menutray
-VERSION=${VERSION:-0.43}
+VERSION=${VERSION:-0.44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,8 +54,6 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="INSTALL.md LICENSE README.md"
-
set -e
rm -rf $PKG
@@ -75,11 +73,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/bin
-cp menutray $PKG/usr/bin
+cp -a menutray $PKG/usr/bin
mkdir -p $PKG/etc/xdg/$PRGNAM
-cp schema.pl $PKG/etc/xdg/$PRGNAM
+cp -a schema.pl $PKG/etc/xdg/$PRGNAM
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a INSTALL.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install