mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
maintainer="Carlo Landmeter <clandmeter@alpinelinux.org>"
|
|
pkgname=incus-ui-canonical
|
|
pkgver=0.14.6
|
|
pkgrel=0
|
|
pkgdesc="lxd-ui rebranded to incus"
|
|
url="https://github.com/zabbly/incus-ui-canonical"
|
|
arch="noarch !s390x !x86 !ppc64le !loongarch64 !riscv64" # FTBFS due to yarn
|
|
license="GPL-3.0-only"
|
|
makedepends="git yarn npm"
|
|
options="!check"
|
|
source="$url/archive/refs/tags/incus-$pkgver.tar.gz
|
|
change-termminal-shell-sh.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-incus-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
yarn install --frozen-lockfile --ignore-scripts
|
|
}
|
|
|
|
build() {
|
|
NODE_ENV=production yarn build
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share
|
|
mv "$builddir"/build/ui "$pkgdir"/usr/share/incus-ui
|
|
}
|
|
|
|
sha512sums="
|
|
ded0677f3919557d4cf84709b26d8e11c205a441defcdd539a907792bee78e2c38603fbb207928cbc56e80373ab9935955fc372eff8d47a205c98d62e62ebb63 incus-0.14.6.tar.gz
|
|
ce2f881f089218ae3ff1bb7a639ff18fd38906643ef02564349f1fac30eea661e32d30b9f133139f5cd7fdcf473b979ec3712cc668ef077bc8f36691f65d29f1 change-termminal-shell-sh.patch
|
|
"
|