From 322d8f7a98937f275a06f04c7a222d36959fd637 Mon Sep 17 00:00:00 2001 From: shpit-bot Date: Tue, 21 Apr 2026 08:42:08 +0000 Subject: [PATCH 1/2] chore(pkgbuilds): bump package versions --- tabex-bin/.SRCINFO | 2 +- tabex-bin/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tabex-bin/.SRCINFO b/tabex-bin/.SRCINFO index b988f6b..3fa732b 100644 --- a/tabex-bin/.SRCINFO +++ b/tabex-bin/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = tabex-bin pkgdesc = Tabex CLI for browser session, capture, and page inspection - pkgver = 0.0.3 + pkgver = 0.0.4 pkgrel = 1 url = https://github.com/shpitdev/tabex arch = x86_64 diff --git a/tabex-bin/PKGBUILD b/tabex-bin/PKGBUILD index 006cda7..95dbde4 100644 --- a/tabex-bin/PKGBUILD +++ b/tabex-bin/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Anand Pant pkgname=tabex-bin -pkgver=0.0.3 +pkgver=0.0.4 pkgrel=1 pkgdesc="Tabex CLI for browser session, capture, and page inspection" arch=('x86_64') @@ -13,7 +13,7 @@ conflicts=('tabex') # Public PKGBUILD, private release asset. Users need GitHub access to the shpitdev org. _asset="tabex_v${pkgver}_linux_amd64.tar.gz" -_sha256='c687fb78a0df8fbf79a5de147bb474f682082d04f0cc20351718d7eed913d47b' +_sha256='f6f3f2e5912ba985453a4ec4d97522a59ecbb4278a44135264303d96c4451e70' prepare() { gh release download "v${pkgver}" \ From 20026cc9471e3006c340dd3dac04019e20bde572 Mon Sep 17 00:00:00 2001 From: Anand Pant Date: Tue, 21 Apr 2026 04:01:37 -0500 Subject: [PATCH 2/2] chore(pkgbuilds): guide tabex setup after install --- README.md | 8 ++++++++ docs/setup.md | 8 ++++++++ scripts/validate-packages.sh | 6 ++++++ tabex-bin/.SRCINFO | 1 + tabex-bin/PKGBUILD | 1 + tabex-bin/tabex-bin.install | 14 ++++++++++++++ 6 files changed, 38 insertions(+) create mode 100644 tabex-bin/tabex-bin.install diff --git a/README.md b/README.md index 217115a..0c759d1 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,14 @@ makepkg -si `gh auth login` must be configured with access to the `shpitdev` org before `makepkg` can download the private release assets. +After installing `tabex-bin`, start with: + +```bash +tabex setup +``` + +The package includes an install hook that prints the same guidance after install or upgrade. + ## Temporary Mode - You can use this repo immediately without creating the AUR repositories or AUR secrets. diff --git a/docs/setup.md b/docs/setup.md index 87fd7c3..6836434 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -81,6 +81,14 @@ If you are logged into GitHub locally with `gh auth login`, you can run: That uses your local GitHub CLI session for private release access. +For `tabex-bin`, the package install hook now points users at: + +```bash +tabex setup +``` + +That is safe because `v0.0.4` is the first stable release that ships the source-repo-side setup flow. + ## Full Publish Setup When you are ready to publish to AUR: diff --git a/scripts/validate-packages.sh b/scripts/validate-packages.sh index b35b29d..6912d17 100755 --- a/scripts/validate-packages.sh +++ b/scripts/validate-packages.sh @@ -8,3 +8,9 @@ for package_dir in "${repo_root}"/*; do [[ -f "${package_dir}/PKGBUILD" ]] || continue "${repo_root}/scripts/validate-package.sh" "${package_dir}" done + +tabex_pkg="${repo_root}/tabex-bin" +if [[ -f "${tabex_pkg}/PKGBUILD" ]]; then + grep -q 'install="${pkgname}\.install"' "${tabex_pkg}/PKGBUILD" + grep -q 'tabex setup' "${tabex_pkg}/tabex-bin.install" +fi diff --git a/tabex-bin/.SRCINFO b/tabex-bin/.SRCINFO index 3fa732b..6710fb9 100644 --- a/tabex-bin/.SRCINFO +++ b/tabex-bin/.SRCINFO @@ -3,6 +3,7 @@ pkgbase = tabex-bin pkgver = 0.0.4 pkgrel = 1 url = https://github.com/shpitdev/tabex + install = tabex-bin.install arch = x86_64 license = LicenseRef-proprietary makedepends = github-cli diff --git a/tabex-bin/PKGBUILD b/tabex-bin/PKGBUILD index 95dbde4..6f60e37 100644 --- a/tabex-bin/PKGBUILD +++ b/tabex-bin/PKGBUILD @@ -7,6 +7,7 @@ pkgdesc="Tabex CLI for browser session, capture, and page inspection" arch=('x86_64') url="https://github.com/shpitdev/tabex" license=('LicenseRef-proprietary') +install="${pkgname}.install" makedepends=('github-cli') provides=('tabex') conflicts=('tabex') diff --git a/tabex-bin/tabex-bin.install b/tabex-bin/tabex-bin.install new file mode 100644 index 0000000..dba7daa --- /dev/null +++ b/tabex-bin/tabex-bin.install @@ -0,0 +1,14 @@ +post_install() { + cat <<'EOF' +==> Tabex needs browser-profile and extension setup after install. +==> Start with: +==> tabex setup +==> +==> That saves browser config, installs or updates the managed Chrome extension locally, +==> and prints the Chrome load or refresh steps. +EOF +} + +post_upgrade() { + post_install +}