Package Details: lima 1.2.1-1

Git Clone URL: https://aur.archlinux.org/lima.git (read-only, click to copy)
Package Base: lima
Description: Linux virtual machines, typically on macOS, for running containerd.
Upstream URL: https://github.com/lima-vm/lima
Keywords: colima containerd docker vm
Licenses: Apache
Conflicts: lima-bin
Provides: lima
Submitter: enmanuelmoreira
Maintainer: enmanuelmoreira
Last Packager: enmanuelmoreira
Votes: 2
Popularity: 0.001544
First Submitted: 2022-04-28 16:23 (UTC)
Last Updated: 2025-08-07 06:46 (UTC)

Dependencies (6)

Required by (2)

Sources (1)

Latest Comments

alexbathome commented on 2025-09-16 17:39 (UTC)

It appears that the GO_BUILD_LDFLAGS := -ldflags="-s=$(GO_BUILD_LDFLAGS_S) -w -X $(PACKAGE)/pkg/version.Version=$(VERSION)" in the Makefile doesn't work as we might desire with v1.2.1-1.

I ran into:

❯ limactl create new
INFO[0000] Creating an instance "new" from template://default (Not from template://new) 
WARN[0000] This form is deprecated. Use `limactl create --name=new template://default` instead 
? Creating an instance "new" Proceed with the current configuration
FATA[0000] the YAML is invalid, saved the buffer as "lima.REJECTED.yaml": can't parse builtin Lima version "029d7c1": 029d7c1 is not in dotted-tri format 

Fixed this with:

diff --git a/PKGBUILD b/PKGBUILD
index 68a69d9..84afdf2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ build() {
    cd "${pkgname}-${pkgver}"
   export CGO_ENABLED=1
   export GOFLAGS="-buildmode=pie -buildvcs=false -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-  make native
+  make VERSION="${pkgver}" native
 }

 package() {

Thanks for the package!

troxor commented on 2023-09-16 17:48 (UTC)

Here's a patch to update the PKGBUILD to 0.17.2: https://gist.github.com/troxor/788927eec772ccea89e65e7167a291e6

FabioLolix commented on 2022-04-28 20:53 (UTC)

Hello, there are several flaws in this pkgbuild

  • License is Apache, not MIT
  • it is a disguised -bin package
  • a custom variable like _name which is exactly pkgname is pointless

Here's a revisioned pkgbuild https://github.com/FabioLolix/AURFIX/blob/main/l/lima/PKGBUILD

Update diff https://github.com/FabioLolix/AURFIX/commit/e6ce5eb6e8086a693c3414807bfd1c331a2ed88b

And folder with variantions (from source, -bin and -git) https://github.com/FabioLolix/AURFIX/tree/main/l