diff options
author | Kristaps Esterlins <esterlinsh@gmail.com> | 2010-05-12 17:45:59 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:45:59 +0200 |
commit | 39eead4f267c3a1cecce8fb825525c825b1bbb34 (patch) | |
tree | 6920a03487b1ec28ab40096948e68bf218d90259 /system/sakura | |
parent | eaf6dc7a49d98e6014ee6cc8c3693a091ddd7b25 (diff) |
system/sakura: Updated for version 2.3.2
Diffstat (limited to 'system/sakura')
-rw-r--r-- | system/sakura/README | 1 | ||||
-rw-r--r-- | system/sakura/doinst.sh | 3 | ||||
-rw-r--r-- | system/sakura/sakura.SlackBuild | 31 | ||||
-rw-r--r-- | system/sakura/sakura.desktop | 10 | ||||
-rw-r--r-- | system/sakura/sakura.info | 10 | ||||
-rw-r--r-- | system/sakura/slack-desc | 3 |
6 files changed, 22 insertions, 36 deletions
diff --git a/system/sakura/README b/system/sakura/README index 130f5692f385d..88a2c5d15d235 100644 --- a/system/sakura/README +++ b/system/sakura/README @@ -5,4 +5,3 @@ based on VTE are gnome-terminal, XFCE Terminal, and a small sample program included in the vte sources. Sakura differences from the last one is that it uses a notebook to provide several terminals in one window and adds a contextual menu with some basic options - no more no less. - diff --git a/system/sakura/doinst.sh b/system/sakura/doinst.sh index 854e20633d669..3718faa5a2552 100644 --- a/system/sakura/doinst.sh +++ b/system/sakura/doinst.sh @@ -1,3 +1,4 @@ if [ -x /usr/bin/update-desktop-database ]; then - ./usr/bin/update-desktop-database -q usr/share/applications + /usr/bin/update-desktop-database -q /usr/share/applications fi + diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild index ad59bfab6de88..32da0defd60a7 100644 --- a/system/sakura/sakura.SlackBuild +++ b/system/sakura/sakura.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for sakura # Written by Erik Hanson erik@slackbuilds.org -# Updated by Kristaps Esterlins <esterlinsh@gmail.com> +# Updated by Kristaps Esterlins <esterlinsh[at]gmail.com> PRGNAM=sakura -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.3.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -15,22 +15,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# These are ignored, but I'm leaving them here in case -# someone with some sed skills wants to wedge SLKCFLAGS -# into the Makefile.in later. -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" -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 . \ @@ -39,15 +30,19 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -cmake -DCMAKE_INSTALL_PREFIX=/usr . || exit 1 -make || exit 1 -make install DESTDIR=$PKG || exit 1 +cmake -DCMAKE_INSTALL_PREFIX=/usr . +make +make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/sakura -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install $PKG/usr/share/applications +mkdir -p $PKG/usr/share/applications +cat $TMP/$PRGNAM-$VERSION/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS GPL INSTALL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/system/sakura/sakura.desktop b/system/sakura/sakura.desktop deleted file mode 100644 index 76907315215af..0000000000000 --- a/system/sakura/sakura.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=Sakura Terminal -Comment=Use the command line -TryExec=sakura -Exec=sakura -Icon=/usr/share/pixmaps/terminal-tango.png -Type=Application -Categories=GTK;Application;Utility;TerminalEmulator; -StartupNotify=true diff --git a/system/sakura/sakura.info b/system/sakura/sakura.info index 5bae92d26727c..896ea66202ebc 100644 --- a/system/sakura/sakura.info +++ b/system/sakura/sakura.info @@ -1,8 +1,8 @@ PRGNAM="sakura" -VERSION="2.2.0" +VERSION="2.3.2" HOMEPAGE="http://pleyades.net/david/sakura.php" -DOWNLOAD="http://pleyades.net/david/projects/sakura/sakura-2.2.0.tar.bz2" -MD5SUM="452b5059f5dc37a3845ec11a0e46b5b1" -MAINTAINER="Kristaps Esterlinsh" +DOWNLOAD="http://pleyades.net/david/projects/sakura/sakura-2.3.2.tar.bz2" +MD5SUM="d2f595a4b20a6f81c6904b138e152dce" +MAINTAINER="Kristaps Esterlins" EMAIL="esterlinsh@gmail.com" -APPROVED="David Somero" +APPROVED="rworkman" diff --git a/system/sakura/slack-desc b/system/sakura/slack-desc index ee56f2f9703d4..5140b147afad7 100644 --- a/system/sakura/slack-desc +++ b/system/sakura/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -sakura: sakure (a terminal emulator) +sakura: sakura (a terminal emulator) 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 @@ -17,3 +17,4 @@ sakura: sakura: http://pleyades.net/david/sakura.php sakura: sakura: +sakura: |