summaryrefslogtreecommitdiff
path: root/development/medit/medit.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:18 +0200
commit20f2d0a33aff6d2564546c0892c59934873ab231 (patch)
tree2fbe155fa814dd19019503723dd993a9e4f7eea7 /development/medit/medit.SlackBuild
parent2c9a0ee9a83316886e03ba1f5e79b65f791856de (diff)
downloadslackbuilds-20f2d0a33aff6d2564546c0892c59934873ab231.tar.gz
development/medit: Updated for version 0.8.5
Diffstat (limited to 'development/medit/medit.SlackBuild')
-rw-r--r--development/medit/medit.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/development/medit/medit.SlackBuild b/development/medit/medit.SlackBuild
index e23ee487e0..d7f4d66527 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