summaryrefslogtreecommitdiff
path: root/development/textadept/textadept.SlackBuild
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2018-03-15 21:20:57 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:49 +0700
commitd61ed6a102ff3041849ad4b1de55fdedf27ede05 (patch)
treea5218cca9f14c3e673baa2eef7407814132916b4 /development/textadept/textadept.SlackBuild
parentfa661d65737c486159621bd690e09f505707b34b (diff)
downloadslackbuilds-d61ed6a102ff3041849ad4b1de55fdedf27ede05.tar.gz
development/textadept: Updated for version 9.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/textadept/textadept.SlackBuild')
-rw-r--r--development/textadept/textadept.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/development/textadept/textadept.SlackBuild b/development/textadept/textadept.SlackBuild
index f6f4269852..ab0accce4c 100644
--- a/development/textadept/textadept.SlackBuild
+++ b/development/textadept/textadept.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for textadept
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Copyright 2018 Brenton Earl <brent@exitstatusone.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,7 +23,7 @@
# not, see <https://www.gnu.org/licenses/>.
PRGNAM=textadept
-VERSION=${VERSION:-9.4}
+VERSION=${VERSION:-9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,12 +91,18 @@ ln -sf /opt/$PRGNAM/"${PRGNAM}"-curses $PKG/usr/bin/tadc
mkdir -p $PKG/usr/share/pixmaps/
ln -sf /opt/$PRGNAM/core/images/${PRGNAM}.png $PKG/usr/share/pixmaps/
+ln -sf /opt/$PRGNAM/core/images/${PRGNAM}-curses.png $PKG/usr/share/pixmaps/
+
+mkdir -p $PKG/usr/share/applications
+install -m644 src/$PRGNAM.desktop $PKG/usr/share/applications
+install -m644 src/$PRGNAM-curses.desktop $PKG/usr/share/applications
mkdir -p $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}