aboutsummaryrefslogtreecommitdiff
path: root/development/nedit/nedit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/nedit/nedit.SlackBuild')
-rw-r--r--development/nedit/nedit.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/development/nedit/nedit.SlackBuild b/development/nedit/nedit.SlackBuild
index 8e0133eb4c6a2..5e2d0be00776b 100644
--- a/development/nedit/nedit.SlackBuild
+++ b/development/nedit/nedit.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=nedit
VERSION=${VERSION:-5.6a}
NUMVER=$(echo $VERSION | tr -d '[:alpha:]')
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,12 +85,19 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/share/applications
+install -m644 $CWD/nedit.desktop $PKG/usr/share/applications/
+
+mkdir -p $PKG/usr/share/icons/
+cp $CWD/nedit.png $PKG/usr/share/icons/
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYRIGHT ChangeLog README doc/faq.txt $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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}