mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# 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
|
|
pkgver=6.0.2
|
|
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=('81016140b70e3b0977e637651197d2c29d02dd73d824e94cd97c19e64c74071c'
|
|
'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
|
|
}
|