From 0903b293a40255274ef8ba235f441492aa3f2bc8 Mon Sep 17 00:00:00 2001 From: Eugene Wissner Date: Sun, 20 Jun 2010 03:29:09 -0500 Subject: desktop/tint2: Updated for version 0.10. Signed-off-by: Robby Workman --- desktop/tint2/tint2.SlackBuild | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'desktop/tint2/tint2.SlackBuild') diff --git a/desktop/tint2/tint2.SlackBuild b/desktop/tint2/tint2.SlackBuild index 552afcdd00..64cdd1d78c 100644 --- a/desktop/tint2/tint2.SlackBuild +++ b/desktop/tint2/tint2.SlackBuild @@ -7,7 +7,7 @@ # You are free to modify or redistribute this in any way you wish. PRGNAM=tint2 -VERSION=${VERSION:-0.9} +VERSION=${VERSION:-0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -32,6 +32,8 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" fi set -e @@ -53,23 +55,18 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ - --localstatedir=/var \ --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make -make DESTDIR=$PKG install +make DESTDIR=$PKG install-strip -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/sample -mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc +rm -rf $PKG/usr/share $PKG/usr/doc/$PRGNAM-$VERSION/NEWS cp sample/*tint2rc $PKG/usr/doc/$PRGNAM-$VERSION/sample cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3