[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to create package without source code



On 2016-07-27 09:39 +0200, Hans wrote:

> I want to create a debian package with my own additions (added an icon and a 
> button for the kde-menu, changed groups and user rights).
>
> But there is a problem:
>
> The file is just a script. I read in the dokus, and all told, they want to 
> compile somehow.

Using a minimum debian/rules file with dh(1) works just fine with that.
If there is no build system, dh won't use it. :-)

> I imagine, to pack all the files with the correct user rights into a folder, 
> then pack it into maybe *.tgz and then change it somehow into a *.deb.

Putting all files from a folder into a .deb is very easy, just write a
debian/install file telling where the files should go. See
dh_install(1).

If your installed files should have non-standard permissions, you might
need to prevent dh_fixperms from adjusting the file permissions.  Read
the dh(1) and dh_fixperms(1) manpages for how to to that.

> Maybe there is a more simple way und you might want to point me to it.
>
> Remember, it is just a shell script, where I added some things and set user 
> rights.

I have attached a skeleton package, feel free to use it as a starting
point (it's not copyrightable).

Cheers,
       Sven

Attachment: foo_0.0.tar.xz
Description: sample package


Reply to: