pdsync

LOW
maintainer broroeror 0 votes scanned 2026-10-21 07:31:05.029830
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: broroeror <54515333+broroeror@users.noreply.github.com>
2pkgname=pdsync
3pkgver=0.1.0
4pkgrel=1
5pkgdesc="Unofficial Proton Drive sync client with a tray app (third-party, not supported by Proton)"
6arch=('any')
7url="https://github.com/broroeror/pdsync"
8license=('GPL-3.0-or-later')
9depends=('nodejs>=22' 'python' 'pyside6' 'qt6-svg' 'libsecret' 'glib2' 'systemd')
10makedepends=('npm')
11source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
12sha256sums=('0c11494c53348f93b2e7ae27c582d9f9fa53c3f14c8a5776a46c7d0921abc889')
13
14build() {
15 cd "$pkgname-$pkgver"
16 npm ci --ignore-scripts --no-audit --no-fund --cache "$srcdir/npm-cache"
17 node build.mjs
18}
19
20check() {
21 cd "$pkgname-$pkgver"
22 npm test
23}
24
25package() {
26 cd "$pkgname-$pkgver"
27 install -Dm644 dist/pdsync.mjs "$pkgdir/usr/lib/pdsync/pdsync.mjs"
28 install -Dm644 dist/pdsync.mjs.LEGAL.txt "$pkgdir/usr/share/licenses/$pkgname/THIRD-PARTY-NOTICES.txt"
29 install -Dm644 dist/THIRD-PARTY-LICENSES.txt "$pkgdir/usr/share/licenses/$pkgname/THIRD-PARTY-LICENSES.txt"
30 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31
32 find gui/pdsync_gui -type f \( -name '*.py' -o -name '*.qml' -o -name '*.svg' \) -exec \
33 install -Dm644 '{}' "$pkgdir/usr/lib/pdsync/{}" \;
34 install -Dm644 gui/pdsync_gui/icons/pdsync.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/pdsync.svg"
35
36 install -Dm755 packaging/pdsync "$pkgdir/usr/bin/pdsync"
37 install -Dm755 packaging/pdsync-gui "$pkgdir/usr/bin/pdsync-gui"
38 install -Dm644 packaging/pdsync-gui.desktop "$pkgdir/usr/share/applications/pdsync-gui.desktop"
39 install -Dm644 packaging/pdsync-mirror.service "$pkgdir/usr/lib/systemd/user/pdsync-mirror.service"
40 install -Dm644 packaging/pdsync-mirror.timer "$pkgdir/usr/lib/systemd/user/pdsync-mirror.timer"
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 07:31:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion