diff options
Diffstat (limited to 'desktop/kcometen3/kcometen3.SlackBuild')
-rw-r--r-- | desktop/kcometen3/kcometen3.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/desktop/kcometen3/kcometen3.SlackBuild b/desktop/kcometen3/kcometen3.SlackBuild index 4f85aabf38..8f72106cff 100644 --- a/desktop/kcometen3/kcometen3.SlackBuild +++ b/desktop/kcometen3/kcometen3.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set -e + PRGNAM=kcometen3 VERSION=1.1 ARCH=${ARCH:-i486} @@ -33,19 +35,18 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi -set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $TMP/$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -56,14 +57,12 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ +./configure --prefix=/usr \ --localstatedir=/var \ - --sysconfdir=/etc/kde \ + --sysconfdir=/etc \ --program-prefix="" \ --program-suffix="" \ - --disable-debug \ - --build=$ARCH-slackware-linux + --disable-debug make make install-strip DESTDIR=$PKG |