From eb04ecd019d14d0b8759bc2358de8c8c756abb9a Mon Sep 17 00:00:00 2001 From: LucasOl1337 <48460437+LucasOl1337@users.noreply.github.com> Date: Sat, 5 Sep 2026 15:09:03 -0300 Subject: [PATCH] Add optional Ponte remote alpha package --- pkgbuilds/ponte-remote/.omarchy/package.json | 3 ++ pkgbuilds/ponte-remote/PKGBUILD | 32 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 pkgbuilds/ponte-remote/.omarchy/package.json create mode 100644 pkgbuilds/ponte-remote/PKGBUILD diff --git a/pkgbuilds/ponte-remote/.omarchy/package.json b/pkgbuilds/ponte-remote/.omarchy/package.json new file mode 100644 index 00000000..2a9719d3 --- /dev/null +++ b/pkgbuilds/ponte-remote/.omarchy/package.json @@ -0,0 +1,3 @@ +{ + "source": "local" +} diff --git a/pkgbuilds/ponte-remote/PKGBUILD b/pkgbuilds/ponte-remote/PKGBUILD new file mode 100644 index 00000000..8599ad68 --- /dev/null +++ b/pkgbuilds/ponte-remote/PKGBUILD @@ -0,0 +1,32 @@ +pkgname=ponte-remote +pkgver=0.1.0alpha1 +pkgrel=1 +pkgdesc='Experimental Android touchpad, screen viewer, and voice sender for Omarchy' +arch=(any) +url=https://github.com/LucasOl1337/ponte +license=(MIT) +depends=('nodejs>=22' 'python>=3.12' bash systemd hyprland ydotool wtype grim ffmpeg wireplumber openssl) +optdepends=('tailscale: private network connection to the phone') +_tag=v0.1.0-alpha.1 +source=("$pkgname-$_tag.tar.gz::$url/archive/refs/tags/$_tag.tar.gz") +sha256sums=('681cc6d974f9cd3c4dcf3a070a427686b2c011a64aaf1e33a1ac9affa8dd6160') + +check() { + cd "$srcdir/ponte-${_tag#v}" + node --test tests/*.test.mjs +} + +package() { + cd "$srcdir/ponte-${_tag#v}" + + install -Dm755 ponte "$pkgdir/usr/lib/ponte/ponte" + install -Dm755 start.sh "$pkgdir/usr/lib/ponte/start.sh" + install -Dm644 server.mjs package.json -t "$pkgdir/usr/lib/ponte" + install -Dm644 backend/*.mjs -t "$pkgdir/usr/lib/ponte/backend" + install -Dm644 public/*.js public/*.html public/*.css public/*.svg public/*.png public/*.webmanifest public/*.json -t "$pkgdir/usr/lib/ponte/public" + + install -d "$pkgdir/usr/bin" + ln -s ../lib/ponte/ponte "$pkgdir/usr/bin/ponte" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" +}