You can use it now like:
$ xbps-src.sh genindex ~/myrepo
It will use XBPS_PACKAGESDIR if no specified.
--HG--
extra : convert_revision : 7d1b17dd77b89387a5f568071b58478e68c4051d
With these changes:
- Added 'sanitize-plist' action to xbps-pkgdb. It takes a plist
file as argument and writes another one "sanitized" by proplib.
Use it to sanitize the pkgindex plist file.
- Split xbps-pkgdb functions to be shared by other files.
- Split xbps-digest functions to be shared by other files.
- Rename the plist file to register/unregister installed pkgs to
regpkgdb.plist, and related stuff in shell scripts.
--HG--
extra : convert_revision : 37731b04c6b41aebac629dfa06106175b9b5e59c