[arch-commits] Commit in netplan/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sat Jun 5 18:42:16 UTC 2021


    Date: Saturday, June 5, 2021 @ 18:42:16
  Author: shibumi
Revision: 956146

archrelease: copy trunk to community-x86_64

Added:
  netplan/repos/community-x86_64/PKGBUILD
    (from rev 956145, netplan/trunk/PKGBUILD)
Deleted:
  netplan/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-05 18:42:10 UTC (rev 956145)
+++ PKGBUILD	2021-06-05 18:42:16 UTC (rev 956146)
@@ -1,36 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor:  Conrad Hoffmann <ch at bitfehler.net>
-
-pkgname=netplan
-pkgver=0.99
-pkgrel=1
-pkgdesc="Network configuration abstraction renderer"
-arch=('x86_64')
-url="https://github.com/CanonicalLtd/netplan"
-license=('GPL3')
-depends=(
-  'glib2'
-  'python-yaml'
-  'python-netifaces'
-  'iproute2'
-)
-makedepends=(
-  'python'
-  'pkgconf'
-  'pandoc'
-)
-source=(
-  "https://github.com/CanonicalLtd/${pkgname}/archive/${pkgver}.tar.gz"
-)
-sha256sums=('6ed7e12c88f972361f794a715dbd80cb85b822d2dc8c4ca9c7605aebbc008cb3')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  env
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" ROOTPREFIX=/usr SBINDIR=/usr/bin install
-}

Copied: netplan/repos/community-x86_64/PKGBUILD (from rev 956145, netplan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-05 18:42:16 UTC (rev 956146)
@@ -0,0 +1,42 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor:  Conrad Hoffmann <ch at bitfehler.net>
+
+pkgname=netplan
+pkgver=0.102
+pkgrel=1
+pkgdesc="Network configuration abstraction renderer"
+arch=('x86_64')
+url="https://github.com/CanonicalLtd/netplan"
+license=('GPL3')
+depends=(
+  'glib2'
+  'python-yaml'
+  'python-netifaces'
+  'iproute2'
+  'systemd'
+)
+makedepends=(
+  'python'
+  'pkgconf'
+  'pandoc'
+)
+source=(
+  "https://github.com/CanonicalLtd/${pkgname}/archive/${pkgver}.tar.gz"
+)
+sha256sums=('2fd9de110066c40f661cbec8273b4a883e7c0f077a4dd969a75bb56b4a42b597')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  # Drop -Werror to avoid the following error:
+  # /usr/include/glib-2.0/glib/glib-autocleanups.h:28:3: error: 'ip_str' may be used uninitialized in this function [-Werror=maybe-uninitialized]
+  sed -e "s/-Werror//g" -i Makefile
+
+  env
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" ROOTPREFIX=/usr SBINDIR=/usr/bin install
+}



More information about the arch-commits mailing list