Here are the scripts and helper files I use to create .deb
files from precompiled binaries of Zig language server, which I host on my apt packages server.
I am not endorsed by @zigtools. I just like their project, and see that they aren't publishing .deb
files of their own.
The easy, trusting way:
- Go to http://packages.joekoop.com and run the two commands at the top of the page.
- Update your local indecies:
sudo apt update
- Install ZLS:
sudo apt install zls
The slightly more difficult, less trusting way:
- Clone this repo:
git clone https://github.com/jkoop/zls-deb.git
- Change to the directory that corresponds with the version you want to package.
- (Trust check) Read
make-package.sh
and look for anything that you don't like.- The script downloads the precompiled binaries and libraries from GitHub itself,
- copies them into a new directory along with the metadata file, DEBIAN-control,
- and builds a
.deb
file withdpkg-deb
(man page).
- Run the script:
./make-package.sh
- The resulting
.deb
file will be in your CWD.