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

Balló György bgyorgy at archlinux.org
Thu Mar 12 00:23:58 UTC 2020


    Date: Thursday, March 12, 2020 @ 00:23:56
  Author: bgyorgy
Revision: 594793

upgpkg: libdbusmenu 16.04.0-4: Fix build (FS#63854), remove unused gnome-doc-utils makedependency

Modified:
  libdbusmenu/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-12 00:22:55 UTC (rev 594792)
+++ PKGBUILD	2020-03-12 00:23:56 UTC (rev 594793)
@@ -8,12 +8,12 @@
 pkgbase=libdbusmenu
 pkgname=("${pkgbase}-glib" "${pkgbase}-gtk"{2,3})
 pkgver=16.04.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Library for passing menus over DBus'
 url='https://launchpad.net/libdbusmenu'
 arch=('x86_64')
 license=('GPL3' 'LGPL2.1' 'LGPL3')
-makedepends=('gnome-common' 'gnome-doc-utils' 'gobject-introspection' 'gtk2' 'gtk3' 'intltool' 'vala' 'valgrind' 'pkg-config')
+makedepends=('gnome-common' 'gobject-introspection' 'gtk2' 'gtk3' 'intltool' 'vala' 'valgrind')
 options=('!emptydirs')
 source=(https://launchpad.net/${pkgbase}/${pkgver%.?}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz{,.asc})
 sha512sums=('ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241'
@@ -21,6 +21,11 @@
 validpgpkeys=('45B1103FB93ACBD90296DBCAE83D089481836EBF')  # Marco Trevisan (at 3v1n0.net) <marco.trevisan at 3v1n0.net>
 
 prepare() {
+  cd ${pkgbase}-${pkgver}
+  # don't treat warnings as errors
+  sed -i 's/-Werror//' libdbusmenu-*/Makefile.{am,in}
+  cd ..
+
   cp -ra ${pkgbase}-${pkgver}{,-gtk2}
 }
 



More information about the arch-commits mailing list