packages/lxcfs/PKGBUILD
2024-09-10 20:08:24 +02:00

32 lines
998 B
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
# Maintainer: Christian Brauner <christianvanbrauner@gmail.com>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
pkgname=lxcfs
pkgver=6.0.1
pkgrel=1
pkgdesc="FUSE filesystem for LXC"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://linuxcontainers.org/"
license=('GPL')
depends=('lxc' 'libnih' 'fuse3' 'dbus-glib')
makedepends=('help2man' 'meson' 'python-jinja' 'systemd')
options=('emptydirs')
source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz"{,.asc})
validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
sha256sums=('898eae241e1f7c5bfad72a04e28bdf78b6f33a2d8f6c6922d78c85b7b6b82bec'
'SKIP')
build() {
cd "$pkgname-$pkgver"
arch-meson ../build
meson compile -C ../build
}
package() {
cd "$pkgname-$pkgver"
DESTDIR="$pkgdir" meson install -C ../build
install -dm0755 "$pkgdir"/var/lib/lxcfs
}