summaryrefslogtreecommitdiffstats
path: root/graphics/gpicview/gpicview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gpicview/gpicview.SlackBuild')
-rw-r--r--graphics/gpicview/gpicview.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index d1912d08dd..9563507e5b 100644
--- a/graphics/gpicview/gpicview.SlackBuild
+++ b/graphics/gpicview/gpicview.SlackBuild
@@ -4,7 +4,7 @@
# Written Evandro Alves Rodrigues evandrofisico@gmail.com
PRGNAM=gpicview
-VERSION=0.2.1
+VERSION=0.2.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +52,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAG="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -63,10 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \