Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1a576a
commit e6ce5eb
Showing
3 changed files
with
45 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# $Id$ | ||
# Contributor: Enmanuel Moreira <enmanuelmoreira@gmail.com> | ||
|
||
_name=lima | ||
pkgname=lima | ||
pkgver=0.10.0 | ||
pkgrel=1 | ||
pkgdesc="Linux virtual machines, typically on macOS, for running containerd." | ||
arch=('x86_64') | ||
url="https://github.com/lima-vm/lima" | ||
license=('MIT') | ||
source=("https://github.com/lima-vm/${_name}/releases/download/v${pkgver}/${_name}-${pkgver}-Linux-x86_64.tar.gz") | ||
license=('Apache') | ||
provides=(lima) | ||
conflicts=(lima) | ||
source=("https://github.com/lima-vm/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-Linux-x86_64.tar.gz") | ||
sha256sums=('7919d50dc5bc45e29a3fb90b4ae3e1bb5687d04dae06e329c7599adf17008acc') | ||
|
||
package() { | ||
cp -r "${srcdir}" "${pkgdir}"/usr | ||
find $pkgdir -iname ${_name}-${pkgver}* | xargs -r rm -rf | ||
find $pkgdir -iname ${pkgname}-${pkgver}* | xargs -r rm -rf | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,34 @@ | ||
# $Id$ | ||
# Contributor: Enmanuel Moreira <enmanuelmoreira@gmail.com> | ||
|
||
_name=lima | ||
pkgname=lima | ||
pkgver=0.10.0 | ||
pkgver=0.10.0.r9.g2b88071 | ||
pkgrel=1 | ||
pkgdesc="Linux virtual machines, typically on macOS, for running containerd." | ||
arch=('x86_64') | ||
url="https://github.com/lima-vm/lima" | ||
license=('MIT') | ||
source=("https://github.com/lima-vm/${_name}/releases/download/v${pkgver}/${_name}-${pkgver}-Linux-x86_64.tar.gz") | ||
sha256sums=('7919d50dc5bc45e29a3fb90b4ae3e1bb5687d04dae06e329c7599adf17008acc') | ||
license=('Apache') | ||
makedepends=(git go) | ||
provides=(lima) | ||
conflicts=(lima) | ||
source=("git+https://github.com/lima-vm/lima.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "${srcdir}/${pkgname%-git}" | ||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "${srcdir}/${pkgname%-git}" | ||
|
||
export GOPATH="$SRCDEST/go-cache" | ||
|
||
make | ||
} | ||
|
||
package() { | ||
cp -r "${srcdir}" "${pkgdir}"/usr | ||
find $pkgdir -iname ${_name}-${pkgver}* | xargs -r rm -rf | ||
cd "${srcdir}/${pkgname%-git}" | ||
make PREFIX=/usr DESTDIR="${pkgdir}" install | ||
#bug/mixed results: lima and nerdctl.lima shell scripts often not installed | ||
#make DESTDIR="${pkgdir}" install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,27 @@ | ||
# $Id$ | ||
# Contributor: Enmanuel Moreira <enmanuelmoreira@gmail.com> | ||
|
||
_name=lima | ||
pkgname=lima | ||
pkgver=0.10.0 | ||
pkgrel=1 | ||
pkgdesc="Linux virtual machines, typically on macOS, for running containerd." | ||
arch=('x86_64') | ||
url="https://github.com/lima-vm/lima" | ||
license=('MIT') | ||
source=("https://github.com/lima-vm/${_name}/releases/download/v${pkgver}/${_name}-${pkgver}-Linux-x86_64.tar.gz") | ||
sha256sums=('7919d50dc5bc45e29a3fb90b4ae3e1bb5687d04dae06e329c7599adf17008acc') | ||
license=('Apache') | ||
makedepends=(git go) | ||
source=("git+https://github.com/lima-vm/lima.git#tag=v${pkgver}") | ||
sha256sums=('SKIP') | ||
|
||
build() { | ||
cd "${srcdir}/${pkgname}" | ||
|
||
export GOPATH="$SRCDEST/go-cache" | ||
|
||
make | ||
} | ||
|
||
package() { | ||
cp -r "${srcdir}" "${pkgdir}"/usr | ||
find $pkgdir -iname ${_name}-${pkgver}* | xargs -r rm -rf | ||
cd "${srcdir}/${pkgname}" | ||
make PREFIX=/usr DESTDIR="${pkgdir}" install | ||
#bug/mixed results: lima and nerdctl.lima shell scripts often not installed | ||
#make DESTDIR="${pkgdir}" install | ||
} |