blob: 7f9197c12bd75b95da4aa6332d34aab2c287a1d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Mantainer: Daniele Basso <d dot bass05 at pm dot me>
# Contributor: David Parrish <daveparrish@tutanota.com>
# Thank you inversechi and eschwartz
pkgname=lando
pkgver=3.23.22
_target_version=${pkgver//_/-}
pkgrel=1
pkgdesc="A free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology"
arch=('x86_64')
url="https://docs.lando.dev"
license=('GPL')
depends=('docker' 'docker-compose')
optdepends=('gcc-libs')
makedepends=('npm' 'git' 'nodejs')
source=("${pkgname}-core::git+https://github.com/lando/core.git#tag=v${_target_version}")
sha256sums=('8fa264c389bf4db82cbe43917d1638cadc3037f4c45dc80ea18b35aeb0e261fb')
conflicts=("lando-git")
provides=("lando")
# strip breaks executable
options=(!strip)
build() {
cd "${srcdir}/$pkgname-core" || exit
npm clean-install --prefer-offline --frozen-lockfile --omit=dev
# scripts/fatcore-install.sh
npx @yao-pkg/pkg --config package.json --target node20 --options dns-result-order=ipv4first bin/lando
}
package() {
cd "${srcdir}/$pkgname-core" || exit
install -D -m 755 "dist/@lando/core" "${pkgdir}/usr/bin/lando"
}
|