public
Last active

build vim debian ubuntu deb

  • Download Gist
First time
1 2 3 4 5 6 7 8 9 10
sudo apt-get install mercurial
sudo apt-get build-dep vim
# switch to appropriate directory (I use ~/local/ubuntu-pkgs/vim)
hg clone http://hg.debian.org/hg/pkg-vim/vim
cd vim
hg checkout unstable
debian/rules update-orig
dpkg-buildpackage
cd ..
# there are your debs
Update
1 2 3 4 5
# switch to checkout directory
hg pull
hg update
debian/rules update-orig
dpkg-buildpackage

When vim-lesstif was removed, some of the files were left in my working copy, which I had to delete before the build would work.

Used to have -i -I options for dpkg-buildpackage, but I'm not sure why....

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.