summaryrefslogtreecommitdiff
path: root/desktop/wmphoto+/wmphoto+.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmphoto+/wmphoto+.SlackBuild')
-rw-r--r--desktop/wmphoto+/wmphoto+.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/desktop/wmphoto+/wmphoto+.SlackBuild b/desktop/wmphoto+/wmphoto+.SlackBuild
index 1d4705dcbd..16f6129216 100644
--- a/desktop/wmphoto+/wmphoto+.SlackBuild
+++ b/desktop/wmphoto+/wmphoto+.SlackBuild
@@ -6,7 +6,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM=wmphoto+
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,18 +53,20 @@ find . \
-exec chmod 644 {} \;
cd wmphoto
- make PREFIX=/usr CCOPTIONS="$SLKCFLAGS"
- mkdir -p $PKG/usr/bin
- cp -a wmphoto $PKG/usr/bin
-cd ..
+ make \
+ FLAGS="$SLKCFLAGS"
+
+# Copy executable to the correct location
+mkdir -p $PKG/usr/bin
+cp -a wmphoto $PKG/usr/bin
+cd -
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 \
- COPYING ChangeLog README contrib sample* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ COPYING ChangeLog README contrib sample+1 sample+2 sample+3 sample+4 sample+5 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install