Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkgbuilds/ponte-remote/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"source": "local"
}
32 changes: 32 additions & 0 deletions pkgbuilds/ponte-remote/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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"
}