5 ms·
To be fair, if all you want is a package with Debian you can do that too. Just copy files in to a dir(like package() in your Arch example), write a 10 line DEB
by JNRowe 1y ago
To be fair, if all you want is a package with Debian you can do that too. Just copy files in to a dir(like package() in your Arch example), write a 10 line DEBIAN/control in there(like the preamble in your Arch example), and call "dpkg-deb --build". The linked document is describing something different, joeyh has a short "why?"¹ from years ago that may be helpful.
¹ https://joeyh.name/blog/entry/upstream_git_repositories/ https://joeyh.name/blog/entry/upstream_git_repositories/
- viraptor 1y agoOr use FPM and ignore all the official rules. It will still work. https://github.com/jordansissel/fpm https://github.com/jordansissel/fpm
- dundarious 1y agoWhat is different in OP that makes that approach not suitable? The git upstream? In the AUR example I gave, pkgver() auto-updates $pkgver, which will show up in version control. You can run `makepkg -defo` (or -dfo I forget which rn) to just run pkgver().