[crux-commits] ports/contrib (3.5): alacritty: 0.4.3 -> 0.5.0

crux at crux.nu crux at crux.nu
Sat Aug 1 08:05:35 UTC 2020


commit 582c60b3bf3b109850f62ae643f38563c7c3a32a
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Aug 1 10:05:32 2020 +0200

    alacritty: 0.4.3 -> 0.5.0

diff --git a/alacritty/.footprint b/alacritty/.footprint
index 90dafc9b1..f5c7466b8 100644
--- a/alacritty/.footprint
+++ b/alacritty/.footprint
@@ -8,9 +8,6 @@ drwxr-xr-x	root/root	usr/share/appdata/
 -rw-r--r--	root/root	usr/share/appdata/io.alacritty.Alacritty.appdata.xml
 drwxr-xr-x	root/root	usr/share/applications/
 -rw-r--r--	root/root	usr/share/applications/Alacritty.desktop
-drwxr-xr-x	root/root	usr/share/bash-completion/
-drwxr-xr-x	root/root	usr/share/bash-completion/completions/
--rw-r--r--	root/root	usr/share/bash-completion/completions/alacritty
 drwxr-xr-x	root/root	usr/share/man/
 drwxr-xr-x	root/root	usr/share/man/man1/
 -rw-r--r--	root/root	usr/share/man/man1/alacritty.1.gz
diff --git a/alacritty/.signature b/alacritty/.signature
index adca7c77e..ba7911277 100644
--- a/alacritty/.signature
+++ b/alacritty/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF30Tl7i7AI9fwA7nmQQVwNmCumH/9bV+REsKR0uTtDpTrU3+4Qsm3G+iyOUkQWdizUti9bwTUSwrU3q66UVgavws=
-SHA256 (Pkgfile) = d9fcd63345a64588c8d05e7840f768bfac7ced9c09215f7e23a53cccbb13c694
-SHA256 (.footprint) = d5068d8dacdf9342a96477cd4517b1b59e9dc3a4a68870c1578e2cec450cfd2b
-SHA256 (alacritty-0.4.3.tar.gz) = 8bc0fc90b16187a4f75a834f29c4725b2c6cfbab9543fc36913ddd9aca604c42
+RWSagIOpLGJF3+4h1suyApD9cd3RHNe1I7StDI9dqSdr6fo4kqsnGyTYGVn47bW1qhfK5gVhWklmZxOHlavZFOadZiu1q8489gU=
+SHA256 (Pkgfile) = 804ee2d9b10b562ce771427318c3626fb56569a7b4d7a07005ff78d153cf328c
+SHA256 (.footprint) = 8e3755b0080c73bbd3a39dcd7b932053af4f6fdd00683270a6d1f8bd6da998a3
+SHA256 (alacritty-0.5.0.tar.gz) = 9bc0e6ff9a0772ea522d7e34ab8371faa96e6cc4e588459966585f0dbb848dcb
diff --git a/alacritty/Pkgfile b/alacritty/Pkgfile
index 4ec0be566..ff9e6d31f 100644
--- a/alacritty/Pkgfile
+++ b/alacritty/Pkgfile
@@ -4,7 +4,7 @@
 # Depends on: fontconfig rust util-linux xorg-libxcb
 
 name=alacritty
-version=0.4.3
+version=0.5.0
 release=1
 source=(https://github.com/alacritty/alacritty/archive/v$version/$name-$version.tar.gz)
 
@@ -12,18 +12,29 @@ build() {
   cd $name-$version
 
   prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
-  mkdir "$PKGMK_SOURCE_DIR/rust" || true
-  export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
+  mkdir $PKGMK_SOURCE_DIR/rust || true
+  export CARGO_HOME=$PKGMK_SOURCE_DIR/rust
 
+  cargo update
   cargo fetch
   env CARGO_INCREMENTAL=0 cargo build --release --locked
 
-  install -D -m 644 "extra/linux/Alacritty.desktop" "$PKG/usr/share/applications/Alacritty.desktop"
-  install -D -m755 "target/release/alacritty" "$PKG/usr/bin/alacritty"
-  install -D -m644 "extra/alacritty.man" "$PKG/usr/share/man/man1/alacritty.1"
-  install -D -m644 "extra/linux/io.alacritty.Alacritty.appdata.xml" "$PKG/usr/share/appdata/io.alacritty.Alacritty.appdata.xml"
-  install -D -m644 "alacritty.yml" "$PKG/usr/share/alacritty/alacritty.yml"
-  install -D -m644 "extra/completions/alacritty.bash" "$PKG/usr/share/bash-completion/completions/alacritty"
-  install -D -m644 "extra/completions/_alacritty" "$PKG/usr/share/zsh/site-functions/_alacritty"
-  install -D -m644 "extra/logo/alacritty-term.svg" "$PKG/usr/share/pixmaps/Alacritty.svg"
+  install -D -m755 target/release/alacritty \
+    $PKG/usr/bin/alacritty
+  install -D -m 644 extra/linux/Alacritty.desktop \
+    $PKG/usr/share/applications/Alacritty.desktop
+  install -D -m644 extra/alacritty.man $PKG/usr/share/man/man1/alacritty.1
+  install -D -m644 extra/linux/io.alacritty.Alacritty.appdata.xml \
+    $PKG/usr/share/appdata/io.alacritty.Alacritty.appdata.xml
+  install -D -m644 alacritty.yml \
+    $PKG/usr/share/alacritty/alacritty.yml
+  install -D -m644 extra/completions/_alacritty \
+    $PKG/usr/share/zsh/site-functions/_alacritty
+  install -D -m644 extra/logo/alacritty-term.svg \
+    $PKG/usr/share/pixmaps/Alacritty.svg
+  # install auto-completion files if the ports for it are installed
+  if [ -e /usr/lib/pkgconfig/bash-completion.pc ]; then
+    install -D -m644 extra/completions/alacritty.bash \
+      $PKG/usr/share/bash-completion/completions/alacritty
+  fi
 }


More information about the crux-commits mailing list