UPDATE Since 2020-04-13, Polybar is available in Debian Unstable.
This repository contains the source to build a Debian package for Polybar.
If you have Docker, the easiest way to build the package is using the build-in-container.sh
script:
$ ./build-in-container.sh
By default, it builds a package for Polybar 3.4.1 in Debian Buster.
You can change the Docker image with -i
, and the version with -v
. For example, to build the current master
in Ubuntu 19.04, use the following command:
$ ./build-in-container.sh -i ubuntu:19.04 -v master
If you change the version, you should update the debian/changelog
file, so the package is generated with the correct version.
After some minutes, the directory target
contains the .deb
files that you can install:
$ sudo dpkg -i target/polybar_3.4.1-1_amd64.deb
$ sudo apt-get -f install # Only is any package is missing
To publish a new release:
- Change the default value for
VERSION
inbuild.sh
andbuild-in-container.sh
. - Add a new entry in
debian/changelog
. - Create a new tag with the version for the Debian package.
When the tag is uploaded, the packages are built and uploaded to a new release in the GitHub repository.