development/medit: Updated for version 0.9.4

This commit is contained in:
Erik Hanson 2010-05-11 22:22:38 +02:00 committed by David Somero
parent d2ef54b71d
commit a8b9186859
3 changed files with 27 additions and 29 deletions

View File

@ -1,12 +1,7 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database > /dev/null 2>&1
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
fi
if [ -x usr/bin/update-mime-database ]; then
usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime &> /dev/null
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

View File

@ -2,13 +2,15 @@
# Slackware build script for medit
# Written by Erik Hanson erik@slackbuilds.org
# Modified by the SlackBuilds.org project
set -eu
PRGNAM=medit
VERSION=0.8.5
VERSION=0.9.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -22,10 +24,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@ -33,21 +35,22 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-fam \
|| exit 1
--localstatedir=/var/lib \
--mandir=/usr/man \
--disable-static \
--disable-generated-files \
--with-fam
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
make
make install-strip DESTDIR=$PKG
rm -rf $PKG/usr/include $PKG/usr/lib/python2.?
rm -rf $PKG/usr/lib/python2.?
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING COPYING.lib INSTALL NEWS README THANKS TODO \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
cp -a AUTHORS COPYING COPYING.GPL INSTALL LICENSE NEWS README THANKS \
$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

View File

@ -1,8 +1,8 @@
PRGNAM="medit"
VERSION="0.8.5"
VERSION="0.9.4"
HOMEPAGE="http://mooedit.sourceforge.net/"
DOWNLOAD="http://dl.sourceforge.net/sourceforge/mooedit/medit-0.8.5.tar.bz2"
MD5SUM="b4f5d4f1b7b1d872ccf664f0559be101"
DOWNLOAD="http://downloads.sourceforge.net/mooedit/medit-0.9.4.tar.bz2"
MD5SUM="502086d22d608232d48ef70d56ef5f84"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"
APPROVED="David Somero"