blob: a1e19b3bfcf24d1c4dc5327f6ec617581d69efb9 (
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.21.2
_target_version=${pkgver//_/-}
pkgrel=4
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}::git+https://github.com/lando/cli.git#tag=v${_target_version}")
sha256sums=('15570ce4ffec23cf21559f998facc217bc3c78e65870be8232083f3727c68b44')
conflicts=("lando-git")
provides=("lando")
# strip breaks executable
options=(!strip)
build() {
cd "${srcdir}/$pkgname" || exit
npm clean-install --prefer-offline --frozen-lockfile --omit="dev"
scripts/fatcore-install.sh
npx @yao-pkg/pkg --config package.json -C Brotli --targets latest --options dns-result-order=ipv4first bin/lando
}
package() {
cd "${srcdir}/$pkgname" || exit
install -D -m 755 "dist/@lando/cli" "${pkgdir}/usr/bin/lando"
}
|