[arch-commits] Commit in lxc/trunk (PKGBUILD)

Morten Linderud foxboron at gemini.archlinux.org
Tue Jun 21 21:31:08 UTC 2022


    Date: Tuesday, June 21, 2022 @ 21:31:08
  Author: foxboron
Revision: 1238867

upgpkg: lxc 1:5.0.0-4: fix meson with package guidelines

Modified:
  lxc/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-21 20:47:02 UTC (rev 1238866)
+++ PKGBUILD	2022-06-21 21:31:08 UTC (rev 1238867)
@@ -8,12 +8,12 @@
 pkgname=lxc
 epoch=1
 pkgver=5.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Linux Containers"
 arch=('x86_64')
 url="https://linuxcontainers.org"
-depends=('systemd' 'bash' 'perl' 'libseccomp' 'libcap' 'python' 'rsync' 'wget')
-makedepends=('docbook2x' 'lua' 'python-setuptools' 'apparmor' 'meson')
+depends=('bash' 'perl' 'libseccomp' 'libcap' 'python' 'rsync' 'wget')
+makedepends=('docbook2x' 'systemd' 'meson' 'lua' 'python-setuptools' 'apparmor')
 optdepends=('dnsmasq: lxc-net.service'
 	    'lua'
 	    'lua-filesystem: lxc-top'
@@ -33,6 +33,7 @@
             'bbe7e0447bc3bf5f75f312c34d647f5218024731628a5e8633b1ea1801ebe16b'
             'b31f8d6b301ab9901b43f2696bcd0babb32b96e4a59fab63a2d642e43bf26bb3')
 
+
 prepare() {
   cd "$pkgname-${pkgver/_/-}"
   sed -i "s|if sanitize == 'none'|if false|g" src/lxc/cmd/meson.build
@@ -40,8 +41,8 @@
 
 build() {
   cd "$pkgname-${pkgver/_/-}"
-  meson --prefix=/usr --libexecdir=/usr/lib --sbindir=/usr/bin --buildtype=plain . build
-  meson compile -C build
+  arch-meson build
+  meson compile -C build -v
 }
 
 package() {



More information about the arch-commits mailing list