libdvd-pkg
----------

`dpkg-reconfigure libdvd-pkg` may be used to build and install
 libdvdcss* package(s).

 Generated "libdvdcss*" packages will be saved to "/usr/src/libdvd-pkg"
 (but deleted on purge of "libdvd-pkg").

 APT post-invoke handler (hook) can perform automatic upgrades of guest
 package(s) on host package upgrade. After end of batch of APT
 operations hook checks whether guest package(s) can be updated.
 If upgrade detected then hook will attempt to download/build and
 install package(s) using `dpkg -i` but only if `apt-get check` reported
 no errors.

 Although at the moment there are no known problems associated with APT
 post-invoke hook it may be considered unsafe by some people due to its
 potential to interfere with APT/dpkg operations. Use at your own risk.

## Preparing for offline build

 If automatic attempt to download source archive failed (due to connectivity
 issues etc.) then source archive can be manually downloaded from

    http://download.videolan.org/pub/libdvdcss/

 and placed to "/usr/src/libdvd-pkg". However it is important to make sure
 that archive version matches the current package version and that the
 file is properly (re-)named. For example "libdvdcss-1.2.13.tar.bz2"
 should be saved as

    /usr/src/libdvd-pkg/libdvdcss_1.2.13.orig.tar.bz2
