aboutsummaryrefslogtreecommitdiff
path: root/development/medit/medit.SlackBuild
diff options
context:
space:
mode:
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 e23ee487e052b..d7f4d665276cd 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