2021-12-26 22:58:52 +00:00
|
|
|
# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
|
|
|
|
# Maintainer: Christian Brauner <christianvanbrauner@gmail.com>
|
|
|
|
# Maintainer: Morten Linderud <foxboron@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - add -D_FILE_OFFSET_BITS=64 to CPPFLAGS
|
|
|
|
|
|
|
|
pkgname=lxcfs
|
2024-04-02 23:22:26 +00:00
|
|
|
pkgver=6.0.0
|
2023-08-03 23:30:54 +00:00
|
|
|
pkgrel=1
|
2021-12-26 22:58:52 +00:00
|
|
|
pkgdesc="FUSE filesystem for LXC"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="https://linuxcontainers.org/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('lxc' 'libnih' 'fuse3' 'dbus-glib')
|
2022-08-02 23:50:25 +00:00
|
|
|
makedepends=('help2man' 'meson' 'python-jinja' 'systemd')
|
2023-01-21 21:14:50 +00:00
|
|
|
options=('emptydirs')
|
2023-08-03 23:30:54 +00:00
|
|
|
source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz"{,.asc})
|
2021-12-26 22:58:52 +00:00
|
|
|
validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
|
2024-04-02 23:22:26 +00:00
|
|
|
sha256sums=('15bda2ed0398f91d4342326120375a94d2d6aed414e14834013b4674b8a4c5ee'
|
2023-08-03 23:30:54 +00:00
|
|
|
'SKIP')
|
2022-08-03 23:41:09 +00:00
|
|
|
|
2021-12-26 22:58:52 +00:00
|
|
|
build() {
|
2022-03-13 17:03:26 +00:00
|
|
|
cd "$pkgname-$pkgver"
|
2021-12-26 22:58:52 +00:00
|
|
|
CPPFLAGS+=" -D_FILE_OFFSET_BITS=64"
|
2022-03-13 17:03:26 +00:00
|
|
|
arch-meson ../build
|
|
|
|
meson compile -C ../build
|
2021-12-26 22:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-03-13 17:03:26 +00:00
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
DESTDIR="$pkgdir" meson install -C ../build
|
2021-12-26 22:58:52 +00:00
|
|
|
install -dm0755 "$pkgdir"/var/lib/lxcfs
|
|
|
|
}
|