Package Details: localsend 1.17.0-3

Git Clone URL: https://aur.archlinux.org/localsend.git (read-only, click to copy)
Package Base: localsend
Description: An open source cross-platform alternative to AirDrop
Upstream URL: https://github.com/localsend/localsend
Licenses: Apache-2.0
Submitter: patlefort
Maintainer: xiota
Last Packager: xiota
Votes: 40
Popularity: 7.92
First Submitted: 2023-03-31 12:58 (UTC)
Last Updated: 2026-02-14 16:40 (UTC)

Required by (0)

Sources (1)

Pinned Comments

patlefort commented on 2024-07-09 02:46 (UTC)

I've created a package fvm-sourcebuild for those who want to build the engine from sources. It will cache build artifacts in the same place as flutter-engine (~/.cache/flutter-engine).

Latest Comments

1 2 3 4 5 6 Next › Last »

xiota commented on 2026-02-14 16:22 (UTC) (edited on 2026-02-14 16:26 (UTC) by xiota)

@djmattyg007 Will update.

@arslaanpathan Will add arm to package. But in future, please use a pastebin if you must send patches. However, doesn't make sense to post 44 lines when only one is needed. Also, your choice, but usually not good to feed the spam bots.

djmattyg007 commented on 2026-02-14 12:31 (UTC)

The license field is outdated. The project was converted to the Apache 2.0 license a couple of years ago.

arslaanpathan commented on 2026-02-14 01:54 (UTC)

I just tested this on aarch64/arm64 (Apple M2, Asahi Arch Linux ARM) by modifying the PKGBUILD. It works perfectly, you just need to apply the following patch.

I'd suggest applying this patch so that other users don't have to modify the PKGBUILD themselves.

From 5260b8f953e3f17c31ff8d42e38d821567bb217e Mon Sep 17 00:00:00 2001
From: Arslaan Pathan <arslaan@arslaancodes.com>
Date: Sat, 14 Feb 2026 14:41:17 +1300
Subject: [PATCH] Fix PKGBUILD to work on aarch64

---
 PKGBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 0544140..556f3a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ pkgrel=2
 pkgdesc="An open source cross-platform alternative to AirDrop"
 url="https://github.com/localsend/localsend"
 license=('MIT')
-arch=('x86_64')
+arch=('x86_64' 'aarch64')

 depends=(
   'libayatana-appindicator'
@@ -38,6 +38,8 @@ _pkgsrc="$_pkgname-$pkgver"
 _pkgext="tar.gz"
 source=("$_pkgsrc.$_pkgext"::"$url/archive/refs/tags/v$pkgver.$_pkgext")
 sha256sums=('921c5843947580ae1b64d0d3a6edeefb9e07e8a917d0830af6a47d42e40de264')
+_arch="x64"
+[[ $CARCH == "aarch64" ]] && _arch="arm64"

 prepare() {
   sed -E 's&^(channel) = .*$&\1 = "stable"&' -i "$_pkgsrc/app/rust-toolchain.toml"
@@ -58,7 +60,7 @@ build() (
 )

 package() {
-  cd "$_pkgsrc/app/build/linux/x64/release/bundle"
+  cd "$_pkgsrc/app/build/linux/${_arch}/release/bundle"

   # files
   install -Dm755 "localsend_app" "$pkgdir/$_install_path/$_pkgname/$_pkgname"
-- 
2.53.0

xiota commented on 2025-10-02 10:49 (UTC)

@eXpansiiVe Upstream requires rustup. If you don't want to change packages installed on your system, build in a clean chroot.

eXpansiiVe commented on 2025-10-02 07:15 (UTC)

When trying to install this package, I get this "error". Am I doing something wrong? rustup-1.28.2-3 and rust-1:1.90.0-3 are in conflict. Remove rust? [y/N]

patlefort commented on 2025-03-18 02:18 (UTC)

I found out why: I was caching build output specifically for flutter packages since they need to download a bajillion things when I want to compile flutter from source. It compile fine after clearing it.

patlefort commented on 2025-03-17 22:43 (UTC)

It doesn't solve my problem but I noticed that the build() function is using parenthesis instead of {}.

patlefort commented on 2025-03-17 22:42 (UTC)

I am. I'm stumped, for some reason it is ignoring CXXFLAGS when I'm compiling in my containers but not outside. I tested with fvm package so it's not a fvm-sourcebuild problem. I echo $CXXFLAGS right before fvm build and the flag is there.