From c1b53780459443353f4aa5bd51ca891c4cce4e1b Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Wed, 30 Sep 2026 04:13:06 +0200 Subject: [PATCH] fix(aur): download sources from GitHub, not the homepage 73e60f1 pointed url at proton-drive.narl.io, and all three AUR PKGBUILDs built their source URLs from $url, so the release tarball, the binary archive and the git clone were fetched from the homepage and 404ed. The sources now come from a separate _repo on GitHub; url stays the homepage. --- packaging/aur/proton-drive-for-linux-bin/PKGBUILD | 3 ++- packaging/aur/proton-drive-for-linux-git/PKGBUILD | 3 ++- packaging/aur/proton-drive-for-linux/PKGBUILD | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packaging/aur/proton-drive-for-linux-bin/PKGBUILD b/packaging/aur/proton-drive-for-linux-bin/PKGBUILD index aa11ebe..6a82e8b 100644 --- a/packaging/aur/proton-drive-for-linux-bin/PKGBUILD +++ b/packaging/aur/proton-drive-for-linux-bin/PKGBUILD @@ -6,6 +6,7 @@ pkgrel=1 pkgdesc="Unofficial Proton Drive client: FUSE files-on-demand mount, CLI, GTK4 app, tray (binaries)" arch=('x86_64') url="https://proton-drive.narl.io" +_repo="https://github.com/narrrl/proton-drive-linux" license=('MIT') depends=('fuse3' 'gtk4' 'libadwaita' 'webkitgtk-6.0' 'dbus' 'gcc-libs' 'glibc' 'hicolor-icon-theme') @@ -25,7 +26,7 @@ _tag="v$pkgver" _raw="https://raw.githubusercontent.com/narrrl/proton-drive-linux/$_tag" # The release tarball holds the four binaries only, so the desktop integration # files come straight from the tagged tree. -source=("proton-drive-linux-$pkgver-x86_64.tar.gz::$url/releases/download/$_tag/proton-drive-linux-$pkgver-x86_64.tar.gz" +source=("proton-drive-linux-$pkgver-x86_64.tar.gz::$_repo/releases/download/$_tag/proton-drive-linux-$pkgver-x86_64.tar.gz" "io.narl.proton-drive-linux.desktop::$_raw/packaging/io.narl.proton-drive-linux.desktop" "io.narl.proton-drive-linux-tray.desktop::$_raw/packaging/io.narl.proton-drive-linux-tray.desktop" "io.narl.proton-drive-linux.svg::$_raw/packaging/io.narl.proton-drive-linux.svg" diff --git a/packaging/aur/proton-drive-for-linux-git/PKGBUILD b/packaging/aur/proton-drive-for-linux-git/PKGBUILD index 9296be0..871e9ab 100644 --- a/packaging/aur/proton-drive-for-linux-git/PKGBUILD +++ b/packaging/aur/proton-drive-for-linux-git/PKGBUILD @@ -6,6 +6,7 @@ pkgrel=1 pkgdesc="Unofficial Proton Drive client: FUSE files-on-demand mount, CLI, GTK4 app, tray (git)" arch=('x86_64') url="https://proton-drive.narl.io" +_repo="https://github.com/narrrl/proton-drive-linux" license=('MIT') depends=('fuse3' 'gtk4' 'libadwaita' 'webkitgtk-6.0' 'dbus' 'gcc-libs' 'glibc' 'hicolor-icon-theme') @@ -22,7 +23,7 @@ provides=("${pkgname%-git}=$pkgver" "proton-drive-linux=$pkgver" 'pdfs') conflicts=('proton-drive-linux' 'proton-drive-for-linux' 'proton-drive-for-linux-bin') # LTO has broken GTK/Rust links for this workspace; the release profile keeps it off. options=('!lto') -source=("$pkgname::git+$url.git") +source=("$pkgname::git+$_repo.git") sha256sums=('SKIP') pkgver() { diff --git a/packaging/aur/proton-drive-for-linux/PKGBUILD b/packaging/aur/proton-drive-for-linux/PKGBUILD index 5195be8..57428f3 100644 --- a/packaging/aur/proton-drive-for-linux/PKGBUILD +++ b/packaging/aur/proton-drive-for-linux/PKGBUILD @@ -6,6 +6,7 @@ pkgrel=1 pkgdesc="Unofficial Proton Drive client: files-on-demand FUSE mount, CLI, GTK4 app and tray" arch=('x86_64') url="https://proton-drive.narl.io" +_repo="https://github.com/narrrl/proton-drive-linux" license=('MIT') depends=('fuse3' 'gtk4' 'libadwaita' 'webkitgtk-6.0' 'dbus' 'gcc-libs' 'glibc' 'hicolor-icon-theme') @@ -22,7 +23,7 @@ provides=("proton-drive-linux=$pkgver" 'pdfs') conflicts=('proton-drive-linux' 'proton-drive-for-linux-bin' 'proton-drive-for-linux-git') # LTO has broken GTK/Rust links for this workspace; the release profile keeps it off. options=('!lto') -source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::$_repo/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('6adc21c47744709ea789dfc95733bcc065d6b90a6ea3f6a43cccfa802b0a1600') _srcname="proton-drive-linux-$pkgver"