# Maintainer: Sergej Pupykin # Maintainer: Christian Brauner # Maintainer: Morten Linderud # ALARM: Kevin Mihelich # - add -D_FILE_OFFSET_BITS=64 to CPPFLAGS pkgname=lxcfs pkgver=5.0.4 pkgrel=1 pkgdesc="FUSE filesystem for LXC" arch=(x86_64) 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=('c2b361edc881d5ca8fa2cd3260a4999b8f87afce8d937be2160e5cf0b482c52f' 'SKIP') build() { cd "$pkgname-$pkgver" CPPFLAGS+=" -D_FILE_OFFSET_BITS=64" arch-meson ../build meson compile -C ../build } package() { cd "$pkgname-$pkgver" DESTDIR="$pkgdir" meson install -C ../build install -dm0755 "$pkgdir"/var/lib/lxcfs }