diff --git a/meson.build b/meson.build
index 1e8bd8f8..86e68a75 100644
--- a/meson.build
+++ b/meson.build
@@ -433,8 +433,6 @@ configure_file(
   configuration : substs,
   install_dir : join_paths(SYSCONFDIR, 'makepkg.conf.d/'))
 
-install_emptydir(join_paths(SYSCONFDIR, 'makepkg.d/'))
-
 configure_file(
   input : 'etc/pacman.conf.in',
   output : 'pacman.conf',
@@ -448,15 +446,6 @@ install_data(
   'proto/proto.install',
   install_dir : join_paths(DATAROOTDIR, 'pacman'))
 
-foreach path : [
-	join_paths(LOCALSTATEDIR, 'lib/pacman/'),
-	join_paths(LOCALSTATEDIR, 'cache/pacman/pkg/'),
-	join_paths(DATAROOTDIR, 'makepkg-template/'),
-	join_paths(DATAROOTDIR, 'libalpm/hooks/'),
-	]
-	meson.add_install_script('sh', '-c', 'mkdir -p "$DESTDIR/@0@"'.format(path))
-endforeach
-
 TEST_ENV = environment()
 TEST_ENV.set('PMTEST_SCRIPTLIB_DIR', join_paths(meson.project_source_root(), 'scripts/library/'))
 TEST_ENV.set('PMTEST_LIBMAKEPKG_DIR', join_paths(meson.project_build_root(), 'scripts/libmakepkg/'))
