From Fedora Project Wiki
git clone git://anongit.freedesktop.org/git/packagekit/PackageKit
git pull
mkdir ~/.root
yum -y install glib2-devel dbus-devel dbus-glib-devel pam-devel libX11-devel libsexy-devel xmlto sqlite-devel NetworkManager-glib-devel PolicyKit-devel libtool docbook-utils gnome-doc-utils python-devel perl(XML::Parser) intltool gettext xulrunner-devel libarchive-devel gstreamer-devel gstreamer-plugins-base-devel qt4-devel cppunit-devel pango-devel fontconfig-devel
./autogen.sh --enable-maintainer-mode --enable-gtk-doc --prefix=~/.root --enable-yum --enable-yum2 --enable-dummy --enable-docbook-docs --enable-tests --enable-developer --enable-local --with-default-backend=yum
make && make install
cd PackageKit/src
sudo ./run-pk.sh yum
(in another tab)
cd client
./pkcon search name git