deepin-wine-adrive
The package downloads a prebuilt .deb from a university mirror, which is a common practice for AUR packages; the .deb is from a project-associated source and not executed directly, with contents extracted and repackaged, posing low risk.
Triggered rules
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 package downloads a prebuilt .deb from a university mirror, which is a common practice for AUR packages; the .deb is from a project-associated source and not executed directly, with contents extracted and repackaged, posing low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:26
"LICENSE.html::https://terms.alicdn.com/legal-agreement/terms/suit_bu1_alibaba_group/suit_bu1_alibaba_group202102022125_53871.html"
PKGBUILD
1 offending line(s) highlighted# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_appname=adrive
pkgname="deepin-wine-${_appname}"
_sparkname=com.aliyundrive.spark
_officalname=aDrive
pkgver=4.9.15spark9
pkgrel=1
pkgdesc="Aliyun aDrive on Deepin Wine 8"
arch=("x86_64")
url="https://www.aliyundrive.com"
_dlurl="https://mirrors.sdu.edu.cn/spark-store-repository/store"
license=('LicenseRef-custom')
conflicts=("${_appname}")
provides=("${_appname}")
depends=(
'deepin-wine6-stable'
'spark-dwine-helper'
'xdg-utils'
)
makedepends=(
'p7zip'
)
install="${pkgname}.install"
source=(
"${pkgname}-${pkgver}.deb::${_dlurl}//network/${_sparkname}/${_sparkname}_${pkgver}_all.deb"
"LICENSE.html::https://terms.alicdn.com/legal-agreement/terms/suit_bu1_alibaba_group/suit_bu1_alibaba_group202102022125_53871.html"
"${pkgname}.sh"
)
sha256sums=('769e2265f50c5eb3d53299f86f3975ebf9ea783b132de9fd7d44002e15487966'
'6805d4f66fba42ef107aa186c1aa57b157273dc75469bc5476134f4ce001e96a'
'60092b36b388d8c5899ced088bf4fa2f26999ba5ea7470dedf196bdc6473b43b')
build() {
sed -e "s|@bottlename@|Deepin-${_officalname}|g" \
-e "s|@appver@|${pkgver}|g" \
-e "s|@appname@|${pkgname}|g" \
-e "s|@pathname@|${_officalname}|g" \
-i "${srcdir}/${pkgname}.sh"
bsdtar -xf "${srcdir}/data."* -C "${srcdir}"
mv "${srcdir}/opt/apps/${_sparkname}" "${srcdir}/opt/apps/${pkgname}"
sed "s|\"/opt/apps/${_sparkname}/files/run.sh\"|${pkgname}|g;s|${_sparkname}|${pkgname}|g" \
-i "${srcdir}/opt/apps/${pkgname}/entries/applications/${_sparkname}.desktop"
}
package() {
cp -r "${srcdir}/opt" "${pkgdir}"
md5sum "${srcdir}/opt/apps/${pkgname}/files/files.7z" | awk '{ print $1 }' > "${pkgdir}/opt/apps/${pkgname}/files/files.md5sum"
install -Dm644 "${srcdir}/opt/apps/${pkgname}/entries/applications/${_sparkname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/opt/apps/${pkgname}/entries/icons/hicolor/scalable/apps/${_sparkname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm755 "${srcdir}/${pkgname}.sh" -t "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |