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.
+5 −8
2 files changed
- M CLAUDE.md +1 −1
- M contrib/arch/PKGBUILD +4 −7
| @@ -152,7 +152,7 @@ Exit codes: | |||
| 152 | 152 | - 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. | |
| 153 | 153 | - The tarballs carry the binaries, `budctl.desktop`, the icon (`docs/icon.svg` as `budctl.svg`), `install.sh`, the README and the licenses. | |
| 154 | 154 | - `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. | |
| 156 | 156 | - 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. | |
| 157 | 157 | - `.github/workflows/ci.yml` runs fmt, clippy and the tests on every push to master, and builds and tests the Android app. | |
| 158 | 158 | ||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | # .sha256 files (or run updpkgsums). | |
| 5 | 5 | ||
| 6 | 6 | pkgname=budctl-bin | |
| 7 | − | pkgver=0.1.3 | |
| 7 | + | pkgver=0.1.4 | |
| 8 | 8 | pkgrel=1 | |
| 9 | 9 | pkgdesc='Control wireless earbuds from Linux without the vendor app (CLI and Wayland GUI)' | |
| 10 | 10 | arch=('x86_64' 'aarch64') | |
| @@ -19,17 +19,14 @@ conflicts=('budctl') | |||
| 19 | 19 | options=('!strip' '!debug') | |
| 20 | 20 | source_x86_64=("budctl-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/budctl-x86_64-unknown-linux-gnu.tar.gz") | |
| 21 | 21 | 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') | |
| 24 | 24 | ||
| 25 | 25 | package() { | |
| 26 | 26 | cd "budctl-$CARCH-unknown-linux-gnu" | |
| 27 | 27 | install -Dm755 budctl budctl-gui -t "$pkgdir/usr/bin/" | |
| 28 | 28 | 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" | |
| 33 | 30 | install -Dm644 README.md -t "$pkgdir/usr/share/doc/budctl/" | |
| 34 | 31 | install -Dm644 OFL-fonts.txt -t "$pkgdir/usr/share/licenses/$pkgname/" | |
| 35 | 32 | } | |