snapgene
MEDIUM
maintainer Bitals
4 votes
scanned 2026-08-30 17:43:42.301716
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:51
source=("https://cdn.snapgene.com/downloads/SnapGene/"$_pkgver_major".x/"$_pkgver_major_middle"/"$pkgver"/"$pkgname"_"$pkgver"_linux.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Based on snapgene-viewer package by Antony Lee <anntzer dot lee at gmail dot com>
2
# Maintainer: Bitals <me at bitals dot xyz>
3
# Contributor: Matthijs Tadema <M dot J dot Tadema at gmail dot com>
4
# Contributor: Lorenzo Gaifas <brisvag at gmail dot com>
5
pkgname=snapgene
6
pkgver=8.2.3
7
_pkgver_major=$(cut -d '.' -f 1 <<<"$pkgver")
8
_pkgver_major_middle=$(cut -d '.' -f 1-2 <<<"$pkgver")
9
pkgrel=1
10
pkgdesc='Software for plasmid mapping, primer design, and restriction site analysis'
11
arch=('x86_64')
12
url='https://www.snapgene.com/about'
13
license=('custom')
14
depends=('qt6-base'
15
'qt6-webchannel'
16
'qt6-5compat'
17
'qt6-declarative'
18
'qt6-positioning'
19
'qt6-svg'
20
'qt6-webengine'
21
'qca-qt6'
22
'libsm'
23
'fontconfig'
24
'nspr'
25
'xz'
26
'expat'
27
'glibc'
28
'gcc-libs'
29
'libc++'
30
'libc++abi'
31
'dbus'
32
'krb5'
33
'libxcb'
34
'libxkbcommon-x11'
35
'xcb-util-image'
36
'xcb-util-wm'
37
'libx11'
38
'libxkbfile'
39
'xcb-util-keysyms'
40
'xcb-util-renderutil'
41
'nss'
42
'hicolor-icon-theme'
43
'libice'
44
'libglvnd'
45
'libxext'
46
'openssl-1.1'
47
'zlib'
48
'openmp'
49
)
50
# A valid licence is required to use the full version of snapgene
51
source=("https://cdn.snapgene.com/downloads/SnapGene/"$_pkgver_major".x/"$_pkgver_major_middle"/"$pkgver"/"$pkgname"_"$pkgver"_linux.deb"
52
"snapgene")
53
sha256sums=('170a476198a9128c71c4eaa74cc81371c6aad48752b2407bab8413c5aba07524'
54
'754fdfb4131f8cb8f53560ea19362c3cc90ee14ea7cd68c353a9d3b8d132b993')
55
56
prepare() {
57
tar -xf data.tar.xz
58
}
59
60
package() {
61
cd "$pkgdir"
62
cp -r "$srcdir/opt" "$pkgdir"
63
cp -r "$srcdir/usr" "$pkgdir"
64
mkdir "$pkgdir/usr/bin"
65
cp "$srcdir/snapgene" "$pkgdir/usr/bin/"
66
67
sed -i 's`${INSTALLED_DIR}/snapgene "$@"`QT_QPA_PLATFORM="xcb" ${INSTALLED_DIR}/snapgene "$@"`' "$pkgdir/opt/gslbiotech/snapgene/snapgene.sh"
68
69
chmod a+x "$pkgdir/usr/bin/snapgene"
70
71
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
72
ln -s "/opt/gslbiotech/snapgene/resources/licenseAgreement.html" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.html"
73
}
74
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-30 17:43@@ -3,7 +3,7 @@ # Contributor: Matthijs Tadema <M dot J dot Tadema at gmail dot com> # Contributor: Lorenzo Gaifas <brisvag at gmail dot com> pkgname=snapgene-pkgver=8.2.2+pkgver=8.2.3 _pkgver_major=$(cut -d '.' -f 1 <<<"$pkgver") _pkgver_major_middle=$(cut -d '.' -f 1-2 <<<"$pkgver") pkgrel=1@@ -50,7 +50,7 @@ # A valid licence is required to use the full version of snapgene source=("https://cdn.snapgene.com/downloads/SnapGene/"$_pkgver_major".x/"$_pkgver_major_middle"/"$pkgver"/"$pkgname"_"$pkgver"_linux.deb" "snapgene")-sha256sums=('978714974fa8b5fdab8d84504ffb34bfa1590113cc382c78498ac4fa720ddcd9'+sha256sums=('170a476198a9128c71c4eaa74cc81371c6aad48752b2407bab8413c5aba07524' '754fdfb4131f8cb8f53560ea19362c3cc90ee14ea7cd68c353a9d3b8d132b993') prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-30 17:43:42 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |