[crux-commits] ports/contrib (3.5): alacritty: initial commit, version 0.4.3

crux at crux.nu crux at crux.nu
Mon Jun 15 09:56:46 UTC 2020


commit 2923290a249f2aee7addb3320af244bd96ba289d
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jun 14 18:59:51 2020 +0000

    alacritty: initial commit, version 0.4.3

diff --git a/alacritty/.footprint b/alacritty/.footprint
new file mode 100644
index 000000000..90dafc9b1
--- /dev/null
+++ b/alacritty/.footprint
@@ -0,0 +1,21 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/alacritty
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/alacritty/
+-rw-r--r--	root/root	usr/share/alacritty/alacritty.yml
+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
+drwxr-xr-x	root/root	usr/share/pixmaps/
+-rw-r--r--	root/root	usr/share/pixmaps/Alacritty.svg
+drwxr-xr-x	root/root	usr/share/zsh/
+drwxr-xr-x	root/root	usr/share/zsh/site-functions/
+-rw-r--r--	root/root	usr/share/zsh/site-functions/_alacritty
diff --git a/alacritty/.signature b/alacritty/.signature
new file mode 100644
index 000000000..adca7c77e
--- /dev/null
+++ b/alacritty/.signature
@@ -0,0 +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
diff --git a/alacritty/Pkgfile b/alacritty/Pkgfile
new file mode 100644
index 000000000..4ec0be566
--- /dev/null
+++ b/alacritty/Pkgfile
@@ -0,0 +1,29 @@
+# Description: A cross-platform, GPU-accelerated terminal emulator
+# URL: https://github.com/alacritty/alacritty
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: fontconfig rust util-linux xorg-libxcb
+
+name=alacritty
+version=0.4.3
+release=1
+source=(https://github.com/alacritty/alacritty/archive/v$version/$name-$version.tar.gz)
+
+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"
+
+  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"
+}


More information about the crux-commits mailing list