A short(?) script to build debian package inspired by makepkg.
Find a file
leafee98 adc58ff421 specific only the first level when creating deb
When creating a deb, directories is required to be in archive, so let
find don't omit directories is required.

https://stackoverflow.com/questions/4564434/why-does-my-hand-created-deb-package-fails-at-install-with-unable-to-create-on

Since find will output all directories and files, the ar command will
include a file twice (one when adding directory ar will include the
file inside it, one specific by filename), and the second one will be
a hardlink to the previous. This will case apt install failed as "error
creating hard link"

So now just let find output directories and files only as the first
level. And deeper files will be included automatically by ar.
2023-05-22 11:40:04 +08:00
material Refactor project structure 2023-03-24 21:02:08 +08:00
DEBBUILD use rel as part as version, pkgver now run just following extract source 2023-03-28 16:03:03 +08:00
makedeb specific only the first level when creating deb 2023-05-22 11:40:04 +08:00