development/textadept: Updated for version 9.6.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Brenton Earl 2018-03-15 21:20:57 +00:00 committed by Willy Sudiarto Raharjo
parent fa661d6573
commit d61ed6a102
4 changed files with 26 additions and 12 deletions

View file

@ -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.

View file

@ -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

View file

@ -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}

View file

@ -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"