The lib/ location was in order when the feature was proposed as a shell library, now given it's a shell script it should be in scripts/ with all the other scripts.
@@ -3,5 +3,3 @@
SUBDIRS = \
compat \
dpkg
-
-pkglib_SCRIPTS = maintscript-helper
@@ -24,6 +24,8 @@ if WITH_UPDATE_ALTERNATIVES
bin_SCRIPTS += update-alternatives
endif
+pkglib_SCRIPTS = maintscript-helper
+
changelogdir = $(pkglibdir)/parsechangelog
changelog_SCRIPTS = \
changelog/debian