Compare commits

...

3 commits

Author SHA1 Message Date
2dbfd8208e
Fix cap_net capabilities for localsend-go
Some checks are pending
build / Check package changes (push) Waiting to run
build / Build packages (push) Blocked by required conditions
build / Deploy repository (push) Blocked by required conditions
2025-03-16 15:37:53 +01:00
a4f3f6881a
Add localsend-go template 2025-03-16 15:36:59 +01:00
77e3bc6d61
Update README 2025-03-16 15:21:28 +01:00
3 changed files with 71 additions and 30 deletions

View file

@ -7,17 +7,47 @@ which I've built and maintain for myself.
Use it at your own discretion but I make no promises toward any functionality, stability or non-explody-system-ness.
## ROADMAP
Currently, files in the repository are _only_ built for x86_64.
I would like to extend it to other arches at some point but it is not a priority for me,
and I do not know enough about the xbps build system to make it easily possible.
### Current
## ROADMAP
- [x] Create new builds for all contained packages
- [x] Detect changed packages from previous builds
- [x] build only for those packages
- [x] serve from custom repository
- [ ] detect upstream changes and update templates
- [ ] build for multiple (appropriate) arches
### Ideas
## Package wishlist
- [x] bemoji
- [x] ripgrep-all
- [x] filtile (/src instead of bin)
- [x] dotter (/src instead of bin)
- [x] git-bug (/src)
- [ ] bugwarrior - only in pypi for now
- [ ] viddy / hwatch
- [ ] netbird / protonvpn / piactl
- <https://github.com/pia-foss/desktop/issues/59>
- [ ] taskopen
- [ ] dstask
- [ ] tasklite
- [ ] tu
- [ ] <https://github.com/nushell/nufmt>
- [ ] tgpt
- [ ] impala (iwd TUI)
- [ ] localsend:
- [ ] localsend
- [x] localsend-cli (localsend-go)
- gitleaks?
- syncall - in pypi for now
## Auto updating
Goal: auto-update templates on remote updates (checked e.g. every 24h)
@ -43,30 +73,3 @@ Goal: auto-update templates on remote updates (checked e.g. every 24h)
- [ ] pull all existing packages in repo into dir
- [ ] put new version of the package into repo
- [ ] repush repo to page with new file
## Package wishlist
Packages I didn't find in repos:
- [ ] bemoji
- [ ] bugwarrior
- [ ] viddy
- [ ] netbird / protonvpn / piactl
- [ ] ripgrep-all
packages built xbps-src style:
- [x] filtile (/src instead of bin)
- [x] dotter (/src instead of bin)
- [x] git-bug (/src)
- [~] git-delta
- [ ] bugwarrior
- [ ] viddy
- [ ] netbird
- [ ] piactl/daemon
- <https://github.com/pia-foss/desktop/issues/59>
- packages to investigate:
- [ ] impala (iwd TUI)
- [ ] localsend

View file

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
setcap cap_net_raw+ep /usr/bin/localsend_cli
;;
esac

View file

@ -0,0 +1,33 @@
# Template file for 'localsend-go'
pkgname=localsend-go
version=1.2.5
revision=2
build_style=go
go_import_path="localsend_cli"
go_package="./cmd"
depends="libcap-progs"
short_desc="CLI for localsend implemented in Go"
maintainer="Marty Oehme <contact@martyoeh.me>"
license="MIT"
homepage="https://github.com/meowrain/localsend-go"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=48d6b94b7cbcf6b07400c7293401a0d329e15c6ab1f3493e31363a5525e73b00
do_install() {
vbin ${GOPATH}/bin/cmd localsend_cli
}
# have to turn it off currently since
# tui_test.go is trying to open a TTY which is not possible.
# When it _does_ succeed it would just hang there anyway.
do_check() {
:
}
post_install() {
vlicense LICENSE
vdoc doc/README_en.md
vdoc doc/README_jp.md
vdoc doc/README_zh.md
}