aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-07-15 07:07:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:07:51 +0700
commit843e853023ce6beed1163616a13b8496c7c5adc3 (patch)
treed6a131e770adaeeafed417a022d32aaa215bb3c3
parent2966d4b1bf27da869345e4873830d5fafa99bf88 (diff)
multimedia/gmidimonitor: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/gmidimonitor/gmidimonitor.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/multimedia/gmidimonitor/gmidimonitor.SlackBuild b/multimedia/gmidimonitor/gmidimonitor.SlackBuild
index 06b13bfb647d..acfb86b5bc28 100644
--- a/multimedia/gmidimonitor/gmidimonitor.SlackBuild
+++ b/multimedia/gmidimonitor/gmidimonitor.SlackBuild
@@ -28,7 +28,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +39,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,9 +80,9 @@ mkdir -p $PKG/usr/man
./waf install --destdir=$PKG
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a $CWD/$PRGNAM-64.xpm $PKG/usr/share/$PRGNAM/
+cp $CWD/$PRGNAM-64.xpm $PKG/usr/share/$PRGNAM/
mkdir -p $PKG/usr/share/applications
-cp -a $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -91,9 +91,7 @@ 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/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING NEWS INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install