Also the following changes were made:
* Added an info-files trigger, to (un)register info files.
* xbps-base-dirs: it's responsible to install triggers on destdir.
--HG--
extra : convert_revision : 8d707053616f38d2b5beef7cf28e1bc4a66812b8
The flist file is used by the xbps-src command, but it's not
really useful for binpkgs.
--HG--
extra : convert_revision : 5fb31a80b8a571ba49e79507ae0206d0703e8e73
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).
This simplifies packages that used them.
--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
Some other changes related for this:
- Modify binpkg.sh to always insert the INSTALL script at head of
the archive, and appending files after it.
- Modify binpkg.sh to compress binpkgs with bzip2 -9 to save some bytes.
--HG--
extra : convert_revision : b651b944f11c48dede1bbcea658182bf0984e8f3
- Added an additional shell func to add full (build/run), build
or run time dependencies to packages. An optional third parameter
can be used to specify other version than the one set in
the depends file.
- Use a "depends" file in package directory to specify minimum
required ABI/API version for a package, so that there's no need
to set the version all the time in pkgs.
- Updated bash to 4.0.
--HG--
extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
The reason is that fakeroot can't read files that have restrictive
perms and you'd have to change them before the src installation, and
restoring them at binpkg pre-installation.
I prefer to avoid all this and build the pkg with appropiate perms.
--HG--
extra : convert_revision : 8a5086049ab575962913eda0cb2ace0c211b97f1
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.
--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
There are two scripts that can be used now:
- prepost-inst: for pre/post actions at installation.
- prepost-rm: for pre/post actions at removal.
--HG--
extra : convert_revision : 5e054758f549f5c81693b825795fbb36e2d5513a
For now all is handled in a script "prepost-action.sh" in package's
metadata directory, with a target in the shell script.
--HG--
extra : convert_revision : 93ed92d9fbb12939c751354cff464cc097379520
A higher number in this var will make the binary package to
be installed before other with lower priority. By default, all
packages have a 0 priority. xbps-base-dirs uses 100, because it
needs to be one of the first installed packages.
--HG--
extra : convert_revision : 81a88b676d2ae3180914612371619f19e1765d02