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
16 changes: 8 additions & 8 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
39 changes: 17 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```

Expand All @@ -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

<a href="https://github.com/Create-Vlang-App/aur-package/contributors">
<img src="https://contrib.rocks/image?repo=Create-Vlang-App/aur-package"/>
<img src="https://contrib.rocks/image?repo=Create-Vlang-App/aur-package" alt="contrib.rocks"/>
</a>

Made with [contributors-img](https://contrib.rocks).
Tracking create-vlang-app@0.1.0 (see create-vlang-app docs/AUR_RPC.md).
Loading