This might help you for that:
https://talk.devuan.org/t/os-documentation-how-to-package-for-devuan/568/14
It's an older post, but if you omit the "Using gitlab" part and clone a debian repository directly, it shows some of the basics of how to remove systemd and build the package locally. See also debhelper documentation for building packages (Debian has it somewhere). Note that quilt usage isn't covered there.
Sent with [ProtonMail](
https://protonmail.com) Secure Email.
> -------- Original Message --------
> Subject: Re: [DNG] repackaging tutorial
> Local Time: January 9, 2018 6:09 PM
> UTC Time: January 9, 2018 6:09 PM
> From: hendrik@???
> To: dng@???
>
> On Tue, Jan 09, 2018 at 02:14:13PM +0000, KatolaZ wrote:
>
>> On Tue, Jan 09, 2018 at 02:29:07PM +0100, Jaromil wrote:
>>
>>> On Tue, 09 Jan 2018, Hendrik Boom wrote:
>>>
>>>> Are there instructions somewhere for taking apart a Debian package,
>>>> making changes, and building a Devuan package?
>>>
>>> soon (matter of days) online there will be a manual for using our new
>>> devuan helper, the d1h written by Katolaz, as part of the "Devuan
>>> Developer's Manual" we are preparing.
>>> I'll post the link in this thread then.
>>
>> In the meanwhile, you can still use:
>> https://dev1galaxy.org/viewtopic.php?id=549
>
> I'd prefer to work locally until I actually have some confidence that
> I'm doing something sensible. Often it's only once I've started a
> project that I've learned enough to know the entire approach is wrong,
> and there's a much simpler way of accomplishing my goal.
>
> So.
>
> At just which point in these instructions is the working account on
> git.devuan.org needed?
>
> -- hendrik
> ---------------------------------------------------------------
>
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng