# scrollkeeper 0.3.14
# ===================
# Slackware 9.0's 'scrollkeeper' package includes 0.3.11, 9.1's includes
# 0.3.12, 10.0 and 10.1's include 0.3.14 As of Slackware 10.2, Gnome is
# no longer included (so neither is scrollkeeper).
# FYI, at least Gnome >= 2.6 (up to 2.12) all list scrollkeeper version
# 0.3.14 in their prerequisites list.
# If you ever want to uninstall scrollkeeper, or clean up files from
# an old version before installing a new one, skip down to the bottom
# for instructions.
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "scrollkeeper-*" -exec rm -r {} \;
tar xjvf ~/scrollkeeper-0.3.14.tar.bz2
cd scrollkeeper-0.3.14
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-nls
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg scrollkeeper
find /usr/doc -maxdepth 1 -type d 1 -name "scrollkeeper-*" \
-exec rm -r {} \;
rm -f /usr/lib/libscrollkeeper.*
test -d /var/lib/scrollkeeper && ( cd /var/lib/scrollkeeper ; rm -r ./* )
make install
ldconfig
# Update the scrollkeeper databases with the omf files that currently exist.
# You should also run this any time you install/upgrade something that adds
# an omf file (ie. an XML-based User's Guide) to /usr/share/omf.
/usr/bin/scrollkeeper-update -p /var/lib/scrollkeeper > /dev/null 2>&1