Skip to content
Merged
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 8 additions & 0 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions scripts/validate-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion tabex-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
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
install = tabex-bin.install
arch = x86_64
license = LicenseRef-proprietary
makedepends = github-cli
Expand Down
5 changes: 3 additions & 2 deletions tabex-bin/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# 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')
url="https://github.com/shpitdev/tabex"
license=('LicenseRef-proprietary')
install="${pkgname}.install"
makedepends=('github-cli')
provides=('tabex')
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}" \
Expand Down
14 changes: 14 additions & 0 deletions tabex-bin/tabex-bin.install
Original file line number Diff line number Diff line change
@@ -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
}
Loading