summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/textadept/README12
-rw-r--r--development/textadept/doinst.sh7
-rw-r--r--development/textadept/textadept.SlackBuild9
-rw-r--r--development/textadept/textadept.info10
4 files changed, 26 insertions, 12 deletions
diff --git a/development/textadept/README b/development/textadept/README
index 0f46266045..0c9b7a9e10 100644
--- a/development/textadept/README
+++ b/development/textadept/README
@@ -1,9 +1,9 @@
-Textadept is a fast, minimalist, and remarkably extensible cross-platform
-text editor for programmers.
+Textadept is a fast, minimalist, and remarkably extensible cross-platform
+text editor for programmers.
-Written in a combination of C and Lua and relentlessly optimized for
-speed and minimalism over the years, Textadept is an ideal editor for
-programmers who want endless extensibility without sacrificing speed or
+Written in a combination of C and Lua and relentlessly optimized for
+speed and minimalism over the years, Textadept is an ideal editor for
+programmers who want endless extensibility without sacrificing speed or
succumbing to code bloat and featuritis.
The following executables are symlinked from /opt/ to /usr/bin/:
@@ -15,5 +15,5 @@ The following executables are symlinked from /opt/ to /usr/bin/:
-tad
-tadc
-Note that `tad` and `tadc` are just easier ways to type `textadept`
+Note that `tad` and `tadc` are just easier ways to type `textadept`
and `textadept-curses`, respectively.
diff --git a/development/textadept/doinst.sh b/development/textadept/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/development/textadept/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
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}
diff --git a/development/textadept/textadept.info b/development/textadept/textadept.info
index 2027bce04b..6ce83b6b93 100644
--- a/development/textadept/textadept.info
+++ b/development/textadept/textadept.info
@@ -1,10 +1,10 @@
PRGNAM="textadept"
-VERSION="9.4"
+VERSION="9.6"
HOMEPAGE="https://foicica.com/textadept/"
-DOWNLOAD="https://foicica.com/textadept/download/textadept_9.4.i386.tgz"
-MD5SUM="3e073a7b47dc09b8b1b5081652e43b18"
-DOWNLOAD_x86_64="https://foicica.com/textadept/download/textadept_9.4.x86_64.tgz"
-MD5SUM_x86_64="3c787b37f4a175eea00d08ca19e1805b"
+DOWNLOAD="https://foicica.com/textadept/download/textadept_9.6.i386.tgz"
+MD5SUM="e6dd70862367f6b8226779a6d5f22a85"
+DOWNLOAD_x86_64="https://foicica.com/textadept/download/textadept_9.6.x86_64.tgz"
+MD5SUM_x86_64="0078223fed7a75dcc29e7583e6adf536"
REQUIRES=""
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"