#878117 checkinstall: please strip "/build" before guessing package name

Package:
checkinstall
Source:
checkinstall
Description:
installation tracker
Submitter:
Date:
2017-10-10 07:21:05 UTC
Severity:
wishlist
#878117#5
Date:
2017-10-10 07:19:31 UTC
From:
To:
Dear maintainer,

As out-of-source build tools (e.g. cmake, meson) grow in popularity,
it becomes more and more common for a build to be done in the "/build"
subdirectory of a source tree.

checkinstall's default of using the name of the current directory is not
super useful in this case, as all my packages end up named "build".

Please strip this "/build" before trying to guess the package name.


i.e. I would expect the following:

~$ git clone https://github.com/CBrunsch/BinViz binviz
~$ cd binviz/gr-binviz
binviz/gr-binviz$ mkdir build
binviz/gr-binviz$ cd build
binviz/gr-binviz/build$ cmake ..
binviz/gr-binviz/build$ make -j
binviz/gr-binviz/build$ sudo checkinstall
...

To not default to:
2 -  Name:    [ build ]

.. but instead:
2 -  Name:    [ gr-binviz ]

Cheers.