aboutsummaryrefslogtreecommitdiff
path: root/network/clipgrab/clipgrab.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/clipgrab/clipgrab.SlackBuild')
-rw-r--r--network/clipgrab/clipgrab.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/network/clipgrab/clipgrab.SlackBuild b/network/clipgrab/clipgrab.SlackBuild
index 36696517b7e61..4289deabdd25f 100644
--- a/network/clipgrab/clipgrab.SlackBuild
+++ b/network/clipgrab/clipgrab.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=clipgrab
-VERSION=${VERSION:-3.6.5}
+VERSION=${VERSION:-3.6.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,17 +72,15 @@ find -L . \
qmake clipgrab.pro
make DESTDIR=$PKG
-install -d $PKG/usr/share/{applications,pixmaps}
-install -D -m644 $CWD/clipgrab.desktop $PKG/usr/share/applications/clipgrab.desktop
-install -D -m644 icon.png $PKG/usr/share/pixmaps/clipgrab.png
-install -d $PKG/usr/bin
-install -D -m755 clipgrab $PKG/usr/bin/clipgrab
+install -Dm644 $CWD/clipgrab.desktop $PKG/usr/share/applications/clipgrab.desktop
+install -Dm644 icon.png $PKG/usr/share/pixmaps/clipgrab.png
+install -Dm755 clipgrab $PKG/usr/bin/clipgrab
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING license.odt README $PKG/usr/doc/$PRGNAM-$VERSION
+cp COPYING license.odt README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
mkdir -p $PKG/install