--- setup.cfg.orig	2022-11-07 14:50:06 UTC
+++ setup.cfg
@@ -64,7 +64,7 @@ console_scripts =
   gi-docgen = gidocgen.gidocmain:main
 
 [options.data_files]
-share/pkgconfig = gi-docgen.pc
+libdata/pkgconfig = gi-docgen.pc
 share/man/man1 = docs/gi-docgen.1
 
 [options.package_data]
