makedeb / makedeb-docs

Documentation for makedeb, the MPR, and other related projects
https://docs.makedeb.org
Other
3 stars 8 forks source link

Add a full PKGBUILD example to documentation #27

Closed rgarrigue closed 2 years ago

rgarrigue commented 2 years ago

Description of feature

Hi there

Could you add an example in the documentation featuring all the things you can fit in a PKGBUILD file ? A simple + a complex example are the best way to get started imho.

Just copy/pasting the most complex one you can think about would be a good starter I guess

Thanks for makedeb. A lot.

Installed makedeb version

not relevant

hiddeninthesand commented 2 years ago

I think the Arch wiki's example is helpful at https://gitlab.archlinux.org/pacman/pacman/raw/master/proto/PKGBUILD.proto

hwittenborn commented 2 years ago

I'm assuming you want this in a man page then @rgarrigue?

rgarrigue commented 2 years ago

Would be neat, though I was thinking of https://docs.makedeb.org/makedeb/creating-packages/

hwittenborn commented 2 years ago

Sorry for the delay, I was gonna transfer this issue to makedeb/makedeb-docs, but I wasn't able to when I was looking into this the other day and then I forgot about it.

We can definitely add this to the docs there though.

Feel free to submit a PR too :)