summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-07-15 07:15:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:15:09 +0700
commitd71905c3cd02fb275734276835c3efb2e19be2a1 (patch)
tree208eb80293af2a8defe6528c0821bd1bd1ba7988
parent1016eb85ad6912ad3888fe080d685a5f8b56cd6f (diff)
downloadslackbuilds-d71905c3cd02fb275734276835c3efb2e19be2a1.tar.gz
system/driconf: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/driconf/driconf.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/driconf/driconf.SlackBuild b/system/driconf/driconf.SlackBuild
index 7f1467ca68..e3ccdcaf35 100644
--- a/system/driconf/driconf.SlackBuild
+++ b/system/driconf/driconf.SlackBuild
@@ -75,17 +75,15 @@ cat $CWD/driconf-0.9.1-2.diff | patch --verbose -p1
python setup.py install --root=$PKG
mkdir -p $PKG/usr/share/{applications,driconf}
- cp -a $CWD/driconf.desktop $PKG/usr/share/applications/driconf.desktop
- cp -a driconf-icon.png $PKG/usr/share/applications/driconf-icon.png
+cp $CWD/driconf.desktop $PKG/usr/share/applications/driconf.desktop
+cp -a driconf-icon.png $PKG/usr/share/applications/driconf-icon.png
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG COPYING README TODO *.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG COPYING README TODO *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install