Krolyxon
Commit d4e9ca9

Branches

Refs →

budctld4e9ca9

contrib/arch/PKGBUILD: budctl-bin 0.1.4

- pkgver 0.1.4, with the sums from the v0.1.4 release's .sha256 files.
- The release carries the icon, so the package always installs it to
  /usr/share/icons/hicolor/scalable/apps/budctl.svg. makepkg built it
  from the release.
Author
krolyxon
Date
2026-11-02 09:34 +0530
Parent
c2b9d4b
Commit
d4e9ca9df1e789387a5d247917ad8ccf32dccf6f

+5 −8

2 files changed

  1. M CLAUDE.md +1 −1
  2. M contrib/arch/PKGBUILD +4 −7
M CLAUDE.md View
@@ -152,7 +152,7 @@ Exit codes:
152152 - The APK's signing key is the owner's: `~/.local/share/budctl-release/` (never in the repo) and the repository secrets `BUDCTL_KEYSTORE_BASE64` and `BUDCTL_KEYSTORE_PASSWORD` (`docs/android.md#steps`, step 6). Every release must be signed with that same key, or phones cannot update.
153153 - The tarballs carry the binaries, `budctl.desktop`, the icon (`docs/icon.svg` as `budctl.svg`), `install.sh`, the README and the licenses.
154154 - `install.sh` installs into `~/.local` by default: from a release download (`curl … | sh`), from the unpacked tarball it sits in, or from a checkout with `--source`. It puts the icon in `share/icons/hicolor/scalable/apps/` (a release from before the icon has none, and is installed without). `--uninstall` removes the binaries, the launcher entry and the icon, never the user's config or log.
155−- `contrib/arch/PKGBUILD` (`budctl-bin`, not on the AUR) packages the release tarballs, the icon too once a release carries it. After a release is published, bump its `pkgver` and take the sums from the release's `.sha256` files.
155+- `contrib/arch/PKGBUILD` (`budctl-bin`, not on the AUR) packages the release tarballs, the icon included. After a release is published, bump its `pkgver` and take the sums from the release's `.sha256` files.
156156 - The logo: `docs/icon.svg` (the LED battery ring, its last lit dot the red live dot, around a dot-matrix "b") is the launcher icon on both platforms; the Android app has the same dots as vector drawables (adaptive, plus a monochrome layer for themed icons). `docs/logo.svg` is the README's banner: the same emblem and "BUDCTL" in dot-matrix capitals.
157157 - `.github/workflows/ci.yml` runs fmt, clippy and the tests on every push to master, and builds and tests the Android app.
158158
M contrib/arch/PKGBUILD View
@@ -4,7 +4,7 @@
44 # .sha256 files (or run updpkgsums).
55
66 pkgname=budctl-bin
7−pkgver=0.1.3
7+pkgver=0.1.4
88 pkgrel=1
99 pkgdesc='Control wireless earbuds from Linux without the vendor app (CLI and Wayland GUI)'
1010 arch=('x86_64' 'aarch64')
@@ -19,17 +19,14 @@ conflicts=('budctl')
1919 options=('!strip' '!debug')
2020 source_x86_64=("budctl-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/budctl-x86_64-unknown-linux-gnu.tar.gz")
2121 source_aarch64=("budctl-$pkgver-aarch64.tar.gz::$url/releases/download/v$pkgver/budctl-aarch64-unknown-linux-gnu.tar.gz")
22−sha256sums_x86_64=('19766c16cec4206eed1b01620048e35d099d003a9bae03abd49aa5773ea1c897')
23−sha256sums_aarch64=('63319c112866f8d1b9068b0e8091ea90ffca608e0783a3d18b86180b84e4d08d')
22+sha256sums_x86_64=('735ab9715c55d4feedeb23d7a762987941138894a768e567f8ef331acfa0d623')
23+sha256sums_aarch64=('afc1078943471b72457fb9b7a5418811e8e304693f303f0bd4221a21e6e350e9')
2424
2525 package() {
2626 cd "budctl-$CARCH-unknown-linux-gnu"
2727 install -Dm755 budctl budctl-gui -t "$pkgdir/usr/bin/"
2828 install -Dm644 budctl.desktop -t "$pkgdir/usr/share/applications/"
29− # The icon ships in the releases after 0.1.3; before, the launcher entry names a stock one.
30− if [ -f budctl.svg ]; then
31− install -Dm644 budctl.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/budctl.svg"
32− fi
29+ install -Dm644 budctl.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/budctl.svg"
3330 install -Dm644 README.md -t "$pkgdir/usr/share/doc/budctl/"
3431 install -Dm644 OFL-fonts.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
3532 }