aboutsummaryrefslogtreecommitdiff
path: root/development/textadept
diff options
context:
space:
mode:
Diffstat (limited to 'development/textadept')
-rw-r--r--development/textadept/textadept.SlackBuild24
-rw-r--r--development/textadept/textadept.info48
-rw-r--r--development/textadept/update_urls.sh9
3 files changed, 35 insertions, 46 deletions
diff --git a/development/textadept/textadept.SlackBuild b/development/textadept/textadept.SlackBuild
index 40c8c71f9e..4aa4e219b2 100644
--- a/development/textadept/textadept.SlackBuild
+++ b/development/textadept/textadept.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=textadept
-VERSION=${VERSION:-12.4}
+VERSION=${VERSION:-12.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,19 +83,17 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build/_deps
-ln -s $CWD/*t20200923.tar.gz build/_deps/t20200923.tar.gz
-ln -s $CWD/*libiconv-1.17.tar.gz build/_deps/libiconv-1.17.tar.gz
-ln -s $CWD/*lexilla510.tgz build/_deps/lexilla510.tgz
+ln -s $CWD/*14.2.5.zip build/_deps/v14.2.5.zip
+ln -s $CWD/*t20240619.tar.gz build/_deps/t20240619.tar.gz
+ln -s $CWD/*3.4.0.zip build/_deps/v3.4.0.zip
ln -s $CWD/*1_8_0.zip build/_deps/v1_8_0.zip
-ln -s $CWD/*lpeg-1.1.0.tar.gz build/_deps/lpeg-1.1.0.tar.gz
-ln -s $CWD/*lua-5.4.6.tar.gz build/_deps/lua-5.4.6.tar.gz
-ln -s $CWD/*PDCurses-3.9.zip build/_deps/PDCurses-3.9.zip
ln -s $CWD/*1.0.zip build/_deps/1.0.zip
-ln -s $CWD/*scinterm_5.0.zip build/_deps/scinterm_5.0.zip
-ln -s $CWD/*scintilla550.tgz build/_deps/scintilla550.tgz
-ln -s $CWD/*scintillua_6.3.zip build/_deps/scintillua_6.3.zip
-ln -s $CWD/*3.4.0.zip build/_deps/v3.4.0.zip
+ln -s $CWD/*scinterm_5.3.zip build/_deps/scinterm_5.3.zip
+ln -s $CWD/*scintillua_6.4.zip build/_deps/scintillua_6.4.zip
+ln -s $CWD/*lpeg-1.1.0.tar.gz build/_deps/lpeg-1.1.0.tar.gz
ln -s $CWD/*libtermkey-0.22.tar.gz build/_deps/libtermkey-0.22.tar.gz
+ln -s $CWD/*lua-5.4.7.tar.gz build/_deps/lua-5.4.7.tar.gz
+ln -s $CWD/*scintilla554.tgz build/_deps/scintilla554.tgz
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PKG/usr \
-D CMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
@@ -112,8 +110,8 @@ if [ -e /usr/bin/markdown-it ]; then
sed -i 's/markdown -f toc -T/markdown-it/;s/read\(..\)a/read\1*a/;s/:match.*ul.*//' $FILL_LAYOUT
pushd $PKG/usr/share/$PRGNAM/docs
- for file in $( ls *.md ); do
- cat _layouts/default.html | $LUA $FILL_LAYOUT $file > $( basename -s .md $file ).html
+ for file in $(ls *.md); do
+ cat _layouts/default.html | $LUA $FILL_LAYOUT $file > $(basename -s .md $file).html
done
rm _layouts/default.html
rmdir _layouts
diff --git a/development/textadept/textadept.info b/development/textadept/textadept.info
index e1a3e26a0f..5e9c1b481c 100644
--- a/development/textadept/textadept.info
+++ b/development/textadept/textadept.info
@@ -1,34 +1,30 @@
PRGNAM="textadept"
-VERSION="12.4"
+VERSION="12.6"
HOMEPAGE="https://foicica.com/textadept/"
-DOWNLOAD="https://github.com/orbitalquark/textadept/archive/textadept_12.4/textadept-textadept_12.4.tar.gz \
- https://github.com/ThomasDickey/cdk-snapshots/archive/refs/tags/t20200923.tar.gz \
- https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz \
- https://www.scintilla.org/lexilla510.tgz \
- https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip \
+DOWNLOAD="https://github.com/orbitalquark/textadept/archive/textadept_12.6/textadept-textadept_12.6.tar.gz \
+ https://github.com/DaanDeMeyer/reproc/archive/v14.2.5/reproc-14.2.5.zip \
+ https://github.com/ThomasDickey/cdk-snapshots/archive/t20240619/cdk-snapshots-t20240619.tar.gz \
+ https://github.com/itay-grudev/SingleApplication/archive/v3.4.0/SingleApplication-3.4.0.zip \
+ https://github.com/keplerproject/luafilesystem/archive/v1_8_0/luafilesystem-1_8_0.zip \
+ https://github.com/orbitalquark/lua-std-regex/archive/1.0/lua-std-regex-1.0.zip \
+ https://github.com/orbitalquark/scinterm/archive/scinterm_5.3/scinterm-scinterm_5.3.zip \
+ https://github.com/orbitalquark/scintillua/archive/scintillua_6.4/scintillua-scintillua_6.4.zip \
https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz \
- https://www.lua.org/ftp/lua-5.4.6.tar.gz \
- https://prdownloads.sourceforge.net/pdcurses/PDCurses-3.9.zip \
- https://github.com/orbitalquark/lua-std-regex/archive/1.0.zip \
- https://github.com/orbitalquark/scinterm/archive/scinterm_5.0.zip \
- https://www.scintilla.org/scintilla550.tgz \
- https://github.com/orbitalquark/scintillua/archive/scintillua_6.3.zip \
- https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v3.4.0.zip \
- https://www.leonerd.org.uk/code/libtermkey/libtermkey-0.22.tar.gz"
-MD5SUM="4b7ac0d08f5aa001aa8275de19adb27c \
- 0908cb133f473506a40807c0204a960a \
- d718cd5a59438be666d1575855be72c3 \
- 210fab20f43c7d77af7249fd50c2cdc1 \
+ https://www.leonerd.org.uk/code/libtermkey/libtermkey-0.22.tar.gz \
+ https://www.lua.org/ftp/lua-5.4.7.tar.gz \
+ https://www.scintilla.org/scintilla554.tgz"
+MD5SUM="a0b284fd8f6530d789bcbd55ac3631c1 \
+ ab4c50a9433b8bf947bf8da89de329ec \
+ 7b450528e6958eb1c44aa166dc98d800 \
+ 93b78904c173f13b88ce1398f8d8e576 \
c44cc7dee6a38c273a8c373d4e768753 \
- 842a538b403b5639510c9b6fffd2c75b \
- 25a429319dff20dfbfb9956c2b5be911 \
- 06d657aec0e655d5a335c5a5dc888ef3 \
c3314ca8c5be471888342efeee3a46d2 \
- dd7c1f88dd42ae5f2113ba5fe0df2561 \
- 972f2fa44a886b19c62c779f458260e7 \
- 5ab1205f426f06f5fe7a67b692cf0bb1 \
- 93b78904c173f13b88ce1398f8d8e576 \
- 08bf514d59660391c3a21b3977a16c8c"
+ a72553be3caef579b376499df1059b71 \
+ 0474a313a6b3ab232ad671c723b08700 \
+ 842a538b403b5639510c9b6fffd2c75b \
+ 08bf514d59660391c3a21b3977a16c8c \
+ fc3f3291353bbe6ee6dec85ee61331e8 \
+ e8f86f844bc3486d9068320ca94b0826"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-markdown-it-py"
diff --git a/development/textadept/update_urls.sh b/development/textadept/update_urls.sh
index c7492a5b49..c7bd57ee88 100644
--- a/development/textadept/update_urls.sh
+++ b/development/textadept/update_urls.sh
@@ -8,13 +8,8 @@ echo -ne "DOWNLOAD=\"$url"
curl -s https://raw.githubusercontent.com/orbitalquark/textadept/textadept_${VERSION}/CMakeLists.txt > CMakeLists.txt
md5=()
files=()
-for pkg in $(grep "_url " CMakeLists.txt | cut -d\( -f2| cut -d_ -f1 | sort -u); do
- ext=tgz
- file=$(grep "(${pkg}_${ext} " CMakeLists.txt | head -1 | sed "s#.*${pkg}_${ext} \(.*\)[)]#\1#")
- [ -z "$file" ] && ext=zip && file=$(grep "(${pkg}_${ext} " CMakeLists.txt | head -1 | sed "s#.*${pkg}_${ext} \(.*\)[)]#\1#")
- url=$(grep "(${pkg}_url https" CMakeLists.txt | sed "s#.*${pkg}_url \(.*\)..${pkg}_${ext}..#\1${file}#")
- [ -z "$url" ] && url=$(grep -Pzo "(?s)\(${pkg}_url\s*https\N*" CMakeLists.txt | tr -d '\n' | sed "s#.*${pkg}_url.*\(https.*\)..${pkg}_${ext}.*#\1${file}#")
- #echo "$pkg.$ext[$file]: $url"
+for url in $(grep '^fetch(' CMakeLists.txt | cut -d\ -f2 | tr -d \) | sort -u); do
+ file=$(rev <<<$url | cut -d/ -f1 | rev)
md5=( "${md5[@]}" $(curl -Ls $url | md5sum | cut -d\ -f1))
files=( "${files[@]}" $file)
echo -ne " \\\\\\n $url"