[arch-commits] Commit in lxcfs/trunk (PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Sun Mar 13 11:47:53 UTC 2022
Date: Sunday, March 13, 2022 @ 11:47:53
Author: foxboron
Revision: 1150863
upgpkg: lxcfs 5.0.0-1
Modified:
lxcfs/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++++++-------------
1 file changed, 19 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-13 11:47:32 UTC (rev 1150862)
+++ PKGBUILD 2022-03-13 11:47:53 UTC (rev 1150863)
@@ -3,7 +3,7 @@
# Maintainer: Morten Linderud <foxboron at archlinux.org>
pkgname=lxcfs
-pkgver=4.0.12
+pkgver=5.0.0
pkgrel=1
pkgdesc="FUSE filesystem for LXC"
arch=(x86_64)
@@ -10,28 +10,34 @@
url="https://linuxcontainers.org/"
license=('GPL')
depends=('lxc' 'libnih' 'fuse3' 'dbus-glib')
-makedepends=('help2man')
+makedepends=('help2man' 'meson' 'python-jinja')
options=('emptydirs' 'debug')
source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz"{,.asc}
- "lxcfs.service")
+ "lxcfs-fix-man.patch::https://patch-diff.githubusercontent.com/raw/lxc/lxcfs/pull/524.patch"
+ "lxcfs-fix-libdir.patch::https://patch-diff.githubusercontent.com/raw/lxc/lxcfs/pull/527.patch"
+ "lxcfs.service")
validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
-sha256sums=('f502b7c99b5013e58f7d5c4117778c0bffe98532a42e023308eb72a287f0c969'
+sha256sums=('d131b2284437165eabdcdf3c392b96fc95e6ee4f7bf04a7e9999f63997a995ee'
'SKIP'
+ '5aaab31a34994c4496d7c1fa8d6e885c6c5d68e31f90bb04223da8d62afde5bc'
+ 'ff88ab96041e63aaede9af280d7ee7d847ae6ba8ec98832e2f42267ee5ed46bc'
'3549e83ebbd6ec5934be0c3137b0dbb1101cec098bc49d135fea29f733b9e2a1')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 < "$srcdir/lxcfs-fix-man.patch"
+ patch -Np1 < "$srcdir/lxcfs-fix-libdir.patch"
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --with-pamdir=/usr/lib/security \
- --localstatedir=/var
- make
+ cd "$pkgname-$pkgver"
+ arch-meson ../build
+ meson compile -C ../build
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ cd "$pkgname-$pkgver"
+ DESTDIR="$pkgdir" meson install -C ../build
install -dm0755 "$pkgdir"/var/lib/lxcfs
install -Dm0644 "$srcdir"/lxcfs.service "$pkgdir"/usr/lib/systemd/system/lxcfs.service
}
More information about the arch-commits
mailing list