diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:18 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:44:18 +0200 |
commit | 20f2d0a33aff6d2564546c0892c59934873ab231 (patch) | |
tree | 2fbe155fa814dd19019503723dd993a9e4f7eea7 /development | |
parent | 2c9a0ee9a83316886e03ba1f5e79b65f791856de (diff) |
development/medit: Updated for version 0.8.5
Diffstat (limited to 'development')
-rw-r--r-- | development/medit/doinst.sh | 11 | ||||
-rw-r--r-- | development/medit/medit.SlackBuild | 9 | ||||
-rw-r--r-- | development/medit/slack-desc | 10 |
3 files changed, 23 insertions, 7 deletions
diff --git a/development/medit/doinst.sh b/development/medit/doinst.sh index 85aad974d0ab..209593d4a34f 100644 --- a/development/medit/doinst.sh +++ b/development/medit/doinst.sh @@ -1,3 +1,12 @@ if [ -x usr/bin/update-desktop-database ]; then - usr/bin/update-desktop-database &> /dev/null + usr/bin/update-desktop-database > /dev/null 2>&1 fi + +if [ -x usr/bin/update-mime-database ]; then + usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -x usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache -f -t usr/share/icons/hicolor > /dev/null 2>&1 +fi + diff --git a/development/medit/medit.SlackBuild b/development/medit/medit.SlackBuild index e23ee487e052..d7f4d665276c 100644 --- a/development/medit/medit.SlackBuild +++ b/development/medit/medit.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=medit VERSION=0.8.5 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -40,15 +40,14 @@ CFLAGS="$SLKCFLAGS" \ make || exit 1 make install-strip DESTDIR=$PKG || exit 1 -# Fix .desktop, remove stray directories -sed -i 's|Icon=medit.png|Icon=/usr/share/pixmaps/medit.png|' \ - $PKG/usr/share/applications/medit.desktop || exit 1 rm -rf $PKG/usr/include $PKG/usr/lib/python2.? -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING COPYING.lib INSTALL NEWS README THANKS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/development/medit/slack-desc b/development/medit/slack-desc index 5bd61aeb4829..9b9d6a8f305d 100644 --- a/development/medit/slack-desc +++ b/development/medit/slack-desc @@ -1,4 +1,12 @@ -medit: medit - Multiplatform GTK text editor. +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +medit: medit (Multiplatform GTK text editor) medit: medit: It features: Configurable syntax highlighting, keyboard accelerators, medit: and tools available from the main and context menus that can be written |