Here is an example, of how I removed unwanted applications from the
kdenetwork package.
build () {
cd $name-$version
DO_NOT_COMPILE="kit knewsticker kppp ksirc ktalkd wifi" \
./configure --prefix=/usr \
--with-xinerama \
--disable-debug \
--disable-dependency-tracking \
--enable-final
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
}
[..]
Unfortunately there is a draw back to this, some applications depend on
others, so removing one and not the other can cause errors during
compile time. For example when I included librss for removal the install
hit an error...