New comment by mobinmob on void-packages repository https://github.com/void-linux/void-packages/pull/26965#issuecomment-751345457 Comment: > Please apply > > ```diff > diff --git a/srcpkgs/nemo/patches/meson.patch b/srcpkgs/nemo/patches/meson.patch > new file mode 100644 > index 0000000000..d6d43a09c4 > --- /dev/null > +++ b/srcpkgs/nemo/patches/meson.patch > @@ -0,0 +1,15 @@ > +diff --git libnemo-extension/meson.build libnemo-extension/meson.build > +index 31a1618..84a6cf7 100644 > +--- libnemo-extension/meson.build > ++++ libnemo-extension/meson.build > +@@ -61,7 +61,9 @@ nemo_extension = declare_dependency( > + dependencies: nemo_extension_deps, > + ) > + > +-typelibdir = go_intr.get_pkgconfig_variable('typelibdir', define_variable: ['libdir', get_option('libdir')]) > ++typelibdir = go_intr.get_pkgconfig_variable('typelibdir', > ++ define_variable: ['libdir', join_paths(get_option('prefix'), get_option('libdir'))] > ++) > + > + gnome.generate_gir(nemo_extension_lib, > + sources: nemo_extension_sources + nemo_extension_headers, > diff --git a/srcpkgs/nemo/template b/srcpkgs/nemo/template > index deb08370f5..abb5f5886c 100644 > --- a/srcpkgs/nemo/template > +++ b/srcpkgs/nemo/template > @@ -17,22 +17,15 @@ distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" > checksum=e4225b7c4736abe49e106595c770f2c2ea137b15f0b09c9f9ae05c1556fb42a4 > python_version=3 > > - > do_check() { > : > - # requires a display > - # Gtk-WARNING **: 18:34:08.533: cannot open display: > + # Requires xvfb-run and dbus-run-session; > + # can't be run inside chroot due to fusermount3 > } > > -pre_configure() { > +post_patch() { > # Rename 'Files' app name to avoid having the same as nautilus > - vsed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in > -} > - > -post_install() { > - if [ -d "$DESTDIR"/lib/girepository-1.0 ]; then > - mv ${DESTDIR}/lib/girepository-1.0 ${DESTDIR}/usr/lib/ > - fi > + vsed -i 's/^Name.*=.*/& - Nemo/' data/nemo.desktop.in > } > > libnemo_package() { > ``` Thank you for the patch, it is much cleaner. Once I have the time to do complete rebuild I will push with the changes. > And please don't do tricks like that `post_install` again, I spent a lot of time chasing my own tail trying to figure out why the build was complaining about files in `/lib64`. Please check git blame.