Rebuilding a Debian Package
Rebuilding a Debian Package is a straigthfoward process. First get the source and the build dependencies…
sudo apt-get install dpkg-dev
apt-get source pgadmin3
sudo apt-get build-dep pgadmin3
Then start the build itself:
cd pgadmin3
debuild -us -uc