texmacs-qt
maintainer chelqo
· 8 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain, building from official source is normal for AUR packages, and the host, while not standard, is plausibly project-controlled.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official domain, building from official source is normal for AUR packages, and the host, while not standard, is plausibly project-controlled.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:19
source=("http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-$pkgver-src.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
_pkgname=texmacs
2
pkgname=${_pkgname}-qt
3
pkgver=2.1.4
4
pkgrel=1
5
pkgdesc="WYSIWYG free scientific text editor and graphical frontend to various CASes \n
6
(Giac, GTybalt, Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas)"
7
arch=('x86_64')
8
url='http://texmacs.org/'
9
license=('GPL3')
10
depends=('qt5-base' 'guile1.8' 'libtool' 'perl' 'python')
11
optdepends=(
12
'texlive-core: TeX-fonts' # highly recommended, but optional: http://www.texmacs.org/tmweb/download/packaging.en.html
13
'gawk: conversion of some files'
14
'ghostscript: rendering ps files'
15
'imagemagick: convert images'
16
'aspell: spell checking')
17
makedepends=('ghostscript' 'cmake' 'cairo' 'imlib2')
18
options=('!emptydirs')
19
source=("http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-$pkgver-src.tar.gz"
20
'http://www.texmacs.org/Images/tm_gnu1b.png'
21
'texmacs.desktop')
22
sha256sums=('87a6922ee0ddac0b55cce9cd54fa8c1165fd58b0c7b640a33f2f495d69c18186'
23
'f11123275494718a3064c9c3ed9638bcc86402536cdcc875a1dd3c0196d08102'
24
'0719f63ac6db6fffd979dba77a4ab8f9a8f21bcfef84ed5f425e709eb4bd503e')
25
26
build() {
27
#cd TeXmacs-${pkgver}-src
28
cd TeXmacs
29
30
[ -d build ] && rm -rv build
31
mkdir -p build
32
cd build
33
34
msg "### cmake"
35
cmake .. \
36
-DCMAKE_BUILD_TYPE=Release \
37
-DCMAKE_INSTALL_PREFIX=/usr \
38
-DGUILECONFIG_EXECUTABLE=/usr/bin/guile-config1.8
39
msg "### make"
40
make
41
}
42
43
package() {
44
#cd TeXmacs-${pkgver}-src/build
45
cd TeXmacs/build
46
47
msg "### make install"
48
make DESTDIR=${pkgdir} install
49
sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
50
sed -e 's|\@CONFIG_LIB_PATH\@|LD_LIBRARY_PATH|g' -i "$pkgdir"/usr/bin/texmacs
51
52
cd ..
53
_appdir=${pkgdir}/usr/share/applications
54
_pngdir=${pkgdir}/usr/share/pixmaps
55
_docdir=${pkgdir}/usr/share/doc/${pkgname}
56
_licdir=${pkgdir}/usr/share/licenses/${pkgname}
57
install -dm 755 ${_appdir} ${_pngdir} ${_docdir} ${_licdir}
58
install -Dpm 0644 ${srcdir}/texmacs.desktop ${_appdir}/
59
install -Dpm 0644 ${srcdir}/tm_gnu1b.png ${_pngdir}/texmacs.png
60
install -Dpm 0644 COMPILE COPYING LICENSE TODO TeXmacs/INSTALL TeXmacs/README TeXmacs/TEX_FONTS ${_docdir}/
61
cd ${_licdir} ; ln -s ../../TeXmacs/LICENSE .
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |