diff options
author | Eugene Wissner <belka.ew@gmail.com> | 2010-06-19 09:20:30 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-20 15:19:58 -0500 |
commit | 3ed30e2532209265ce7bd6214fc731841348bcb6 (patch) | |
tree | da8dfab859280c7fa059101edd5c5e4d9892bf74 | |
parent | 5a25cb8e4a10af08d81a1cddda4032901d85acd1 (diff) |
system/sakura: Updated for version 2.3.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | system/sakura/doinst.sh | 1 | ||||
-rw-r--r-- | system/sakura/sakura.SlackBuild | 23 | ||||
-rw-r--r-- | system/sakura/sakura.info | 10 | ||||
-rw-r--r-- | system/sakura/slack-desc | 2 |
4 files changed, 24 insertions, 12 deletions
diff --git a/system/sakura/doinst.sh b/system/sakura/doinst.sh index 3718faa5a2552..370fdf0f85bae 100644 --- a/system/sakura/doinst.sh +++ b/system/sakura/doinst.sh @@ -1,4 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q /usr/share/applications fi - diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild index ca8a783a9316d..731306263ceb9 100644 --- a/system/sakura/sakura.SlackBuild +++ b/system/sakura/sakura.SlackBuild @@ -3,9 +3,10 @@ # Slackware build script for sakura # Written by Erik Hanson erik@slackbuilds.org # Updated by Kristaps Esterlins <esterlinsh[at]gmail.com> +# Updated by Eugene Wissner <belka.ew@gmail.com> PRGNAM=sakura -VERSION=${VERSION:-2.3.2} +VERSION=${VERSION:-2.3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,6 +20,16 @@ if [ -z "$ARCH" ]; then esac fi +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -32,6 +43,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -43,16 +55,17 @@ cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \ + -DCMAKE_BUILD_TYPE=Release \ . make make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/sakura -mkdir -p $PKG/usr/share/applications -cat $TMP/$PRGNAM-$VERSION/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop +mv $PKG/usr/share/{man,doc} $PKG/usr +find $PKG/usr/man -type f -exec gzip -9 {} \; -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS GPL INSTALL $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS GPL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/sakura/sakura.info b/system/sakura/sakura.info index 370c335b9e96c..4cdf97d7d1c9f 100644 --- a/system/sakura/sakura.info +++ b/system/sakura/sakura.info @@ -1,10 +1,10 @@ PRGNAM="sakura" -VERSION="2.3.2" +VERSION="2.3.8" HOMEPAGE="http://pleyades.net/david/sakura.php" -DOWNLOAD="http://pleyades.net/david/projects/sakura/sakura-2.3.2.tar.bz2" -MD5SUM="d2f595a4b20a6f81c6904b138e152dce" +DOWNLOAD="http://pleyades.net/david/projects/sakura/sakura-2.3.8.tar.bz2" +MD5SUM="5ce4c9498ea5eb909dbd03617087202e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Kristaps Esterlins" -EMAIL="esterlinsh@gmail.com" +MAINTAINER="Eugene Wissner" +EMAIL="belka.ew@gmail.com" APPROVED="rworkman" diff --git a/system/sakura/slack-desc b/system/sakura/slack-desc index 5140b147afad7..1b604b898b97f 100644 --- a/system/sakura/slack-desc +++ b/system/sakura/slack-desc @@ -7,7 +7,7 @@ |-----handy-ruler------------------------------------------------------| sakura: sakura (a terminal emulator) -sakura: +sakura: sakura: sakura is a terminal emulator based on GTK and VTE. It's a terminal sakura: emulator with few dependencies, so you don't need a full GNOME desktop sakura: installed to have a decent terminal emulator. Sakura uses a notebook |