summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gpicview/gpicview.SlackBuild13
-rw-r--r--graphics/gpicview/gpicview.info6
2 files changed, 9 insertions, 10 deletions
diff --git a/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index 0a7f6788aa..079c99c164 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.2
+VERSION=20120805_f06a367
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +41,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -50,7 +50,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAG="$SLKCFLAGS" \
+sh autogen.sh || true
+
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -61,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 \
diff --git a/graphics/gpicview/gpicview.info b/graphics/gpicview/gpicview.info
index eeaad21db9..8403450e6f 100644
--- a/graphics/gpicview/gpicview.info
+++ b/graphics/gpicview/gpicview.info
@@ -1,8 +1,8 @@
PRGNAM="gpicview"
-VERSION="0.2.2"
+VERSION="20120805_f06a367"
HOMEPAGE="http://lxde.sourceforge.net/gpicview/"
-DOWNLOAD="http://downloads.sourceforge.net/lxde/gpicview-0.2.2.tar.gz"
-MD5SUM="943da9f4a23541accd5acdd4fb69966f"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/gpicview-20120805_f06a367.tar.xz"
+MD5SUM="1edcee79471e1bb333814f94a4f24e58"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""