Whereas pacman packages are simple enough that an arbitrary package can be built using a single (admittedly quite large) shell script from another single source file.
Whereas pacman packages are simple enough that an arbitrary package can be built using a single (admittedly quite large) shell script from another single source file.
My biggest grief back when I used Arch was the missing support for signed packages. Has there been any work in that direction in the meantime?
In a directory (let's say /tmp/PKG) put all your files in the proper tree (/tmp/PKG/usr/local/bin, etc); then create a DEBIAN folder (/tmp/PKG/DEBIAN) with a control file in it. The control file structure is quite straightforward.
You can add preinst, postinst, prerm and postrm scripts as needed (in whatever language you fancy, sh, perl, etc) too. And that's about it, dpkg -b /tmp/PKG mypackage.deb.
- http://allanmcrae.com/2011/08/pacman-package-signing-1-makep...
- http://allanmcrae.com/2011/08/pacman-package-signing-2-pacma...
- http://allanmcrae.com/2011/08/pacman-package-signing-3-pacma...
https://wiki.archlinux.org/index.php/Package_signing
Its been a bit of a headache for me, but that's mostly because I can't just blindly `pacman -Syu` through the update.