diff --git a/README.md b/README.md index 3b59f39..8d45b05 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you have [Docker](https://www.docker.com/) installed locally, just run the fo ```bash user@hostname$ ./build.sh ``` -By default this will build alacritty v0.9.0 on Debian Buster. +By default this will build alacritty v0.10.0-rc1 on Debian Buster. If you want to customize the build at runtime, use the following: diff --git a/build.sh b/build.sh index 87462ba..418efef 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -eu IMAGE="debian:bullseye-slim" TARGET="$(dirname "$0" | xargs realpath)" -VERSION="v0.9.0" +VERSION="v0.10.0-rc1" while getopts "v:i:h" opt do diff --git a/debian/changelog b/debian/changelog index 52b3dd7..9b8aa0b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +alacritty (0.10.0-rc1-1) unstable; urgency=medium + + * New upstream release + * Install `alacritty-msg` man page + + -- Martin Simon Tue, 03 Aug 2021 00:00:00 +0000 + alacritty (0.9.0-2) unstable; urgency=medium * Bullseye is now stable diff --git a/debian/rules b/debian/rules index 07c3a1c..376dd4a 100755 --- a/debian/rules +++ b/debian/rules @@ -10,8 +10,9 @@ override_dh_auto_build: cargo build --release override_dh_auto_install: - mkdir -p debian/alacritty/usr/share/man/man1/ - help2man "target/release/alacritty" | gzip > "debian/alacritty/usr/share/man/man1/alacritty.1.gz" + mkdir -p debian/alacritty/usr/share/man/man1 + gzip -c "extra/alacritty.man" | tee "debian/alacritty/usr/share/man/man1/alacritty.1.gz" > /dev/null + gzip -c "extra/alacritty-msg.man" | tee "debian/alacritty/usr/share/man/man1/alacritty-msg.1.gz" > /dev/null install -Dm04755 "target/release/alacritty" "debian/alacritty/usr/bin/alacritty" install -Dm0644 "extra/completions/alacritty.bash" "debian/alacritty/usr/share/bash-completion/completions/alacritty" install -Dm0644 "extra/completions/alacritty.fish" "debian/alacritty/usr/share/fish/completions/alacritty.fish" diff --git a/entrypoint.sh b/entrypoint.sh index 739c493..68daab2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,6 +12,11 @@ export DEBIAN_FRONTEND DEB_BUILD_OPTIONS dependencies() { apt update && apt install -y devscripts equivs git + if [ "$OS_VERSION" = 11 ]; then + apt install -y curl + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + . ~/.cargo/env + fi } get_sources() {