From 218fd64ffd80bbba8493a3b83685b65234fb091a Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 30 Aug 2012 21:27:28 -0400 Subject: libraries/libgnomeprintui: Updated for version 2.18.6 Signed-off-by: dsomero --- libraries/libgnomeprintui/libgnomeprintui.SlackBuild | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libraries/libgnomeprintui/libgnomeprintui.SlackBuild') diff --git a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild index e37973491255..ac48927e63eb 100644 --- a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild +++ b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild @@ -25,16 +25,14 @@ # Modified by the SlackBuilds.org project PRGNAM=libgnomeprintui -VERSION=2.18.4 +VERSION=2.18.6 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -58,11 +56,13 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -80,11 +80,10 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --enable-static=no \ --enable-gtk-doc=yes \ - --build=$ARCH-slackware-linux \ - || exit 1 + --build=$ARCH-slackware-linux -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING* ChangeLog INSTALL MAINTAINERS NEWS README \ -- cgit v1.2.3