From e5eb6194e9bd3aeb9d283bb088d5d61c216c5b40 Mon Sep 17 00:00:00 2001 From: ulises-jeremias Date: Wed, 22 Jul 2026 02:59:17 -0300 Subject: [PATCH] chore: pin PKGBUILD to create-vlang-app@0.1.0 and uplift README Point source at the GitHub tag archive with verified sha256; shorten README around Release / Homebrew / AUR channels. Co-authored-by: Cursor --- PKGBUILD | 16 ++++++++-------- README.md | 39 +++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 30 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2b50e5a..d944da8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,24 +8,24 @@ url="https://github.com/Create-Vlang-App/create-vlang-app" license=('MIT') depends=('git') makedepends=('vlang') -# Bootstrap pin until the first tag `create-vlang-app@X.Y.Z` exists. -# `publish-aur.yml` in create-vlang-app retargets this to release tarballs. -_commit=e5c07f5 -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Create-Vlang-App/create-vlang-app/archive/${_commit}.tar.gz") -sha256sums=('2db15ba3f4992eb5dcf1dffbd5a26826e433a77523fb102c6e47d7c3d965d1de') +# GitHub tag archive for create-vlang-app@0.1.0 +_tag="create-vlang-app@${pkgver}" +_srcdir="create-vlang-app-create-vlang-app-${pkgver}" +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Create-Vlang-App/create-vlang-app/archive/refs/tags/${_tag}.tar.gz") +sha256sums=('f7c1f62f8eab3bcd4e55b05700924c864f182247ff7c050c39884f5013592729') prepare() { - cd "create-vlang-app-${_commit}" + cd "${_srcdir}" mkdir -p .vmodules ln -sfn "$PWD/modules/create_vlang_app_core" .vmodules/create_vlang_app_core } build() { - cd "create-vlang-app-${_commit}/modules/create_vlang_app" + cd "${_srcdir}/modules/create_vlang_app" VMODULES="$PWD/../../.vmodules" v -prod -o create-vlang-app . } package() { - cd "create-vlang-app-${_commit}/modules/create_vlang_app" + cd "${_srcdir}/modules/create_vlang_app" install -Dm755 create-vlang-app "$pkgdir/usr/bin/create-vlang-app" } diff --git a/README.md b/README.md index 3a3fcd1..6b5bead 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,14 @@ # create-vlang-app — AUR package -AUR package for [create-vlang-app](https://github.com/Create-Vlang-App/create-vlang-app). +Arch Linux packaging for [create-vlang-app](https://github.com/Create-Vlang-App/create-vlang-app). -Primary install path for V developers is **VPM**: +Pinned to tag [`create-vlang-app@0.1.0`](https://github.com/Create-Vlang-App/create-vlang-app/releases/tag/create-vlang-app%400.1.0). -```bash -v install create-vlang-app -``` - -AUR is a secondary channel for Arch Linux users. - -## Install (Arch Linux) +## Install ```bash -# using yay yay -S create-vlang-app - -# using paru +# or paru -S create-vlang-app ``` @@ -28,23 +20,26 @@ cd aur-package makepkg -si ``` +## Other channels + +| Channel | How | +|---------|-----| +| GitHub Release | [linux amd64 binary](https://github.com/Create-Vlang-App/create-vlang-app/releases/tag/create-vlang-app%400.1.0) | +| Homebrew | `brew tap Create-Vlang-App/tap && brew install create-vlang-app` | +| Source | Build from [create-vlang-app](https://github.com/Create-Vlang-App/create-vlang-app) | + ## Automation -The [`create-vlang-app` publish-aur workflow](https://github.com/Create-Vlang-App/create-vlang-app/blob/main/.github/workflows/publish-aur.yml) -bumps `pkgver` / checksums after each GitHub Release tag `create-vlang-app@X.Y.Z` and -pushes to [aur.archlinux.org](https://aur.archlinux.org/packages/create-vlang-app). +[`publish-aur.yml`](https://github.com/Create-Vlang-App/create-vlang-app/blob/main/.github/workflows/publish-aur.yml) retargets this PKGBUILD after each `create-vlang-app@X.Y.Z` Release. -## Source +## Links - AUR: https://aur.archlinux.org/packages/create-vlang-app -- GitHub CLI: https://github.com/Create-Vlang-App/create-vlang-app -- VPM: `v install create-vlang-app` +- CLI: https://github.com/Create-Vlang-App/create-vlang-app +- Templates: https://github.com/Create-Vlang-App/cva-templates ## Contributors - + contrib.rocks - -Made with [contributors-img](https://contrib.rocks). -Tracking create-vlang-app@0.1.0 (see create-vlang-app docs/AUR_RPC.md).