Package Details: alacritty-git 1:0.14.0.2261.g2786683e-1

Git Clone URL: https://aur.archlinux.org/alacritty-git.git (read-only, click to copy)
Package Base: alacritty-git
Description: A cross-platform, GPU-accelerated terminal emulator
Upstream URL: https://github.com/alacritty/alacritty
Keywords: GPU rust terminal
Licenses: Apache
Conflicts: alacritty
Provides: alacritty
Submitter: quininer
Maintainer: quininer
Last Packager: quininer
Votes: 99
Popularity: 1.35
First Submitted: 2016-11-01 13:53 (UTC)
Last Updated: 2023-12-31 03:41 (UTC)

Required by (27)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »

jhenson commented on 2020-01-27 22:08 (UTC) (edited on 2020-01-27 22:08 (UTC) by jhenson)

This package should have a git listed as a make dep.

1ace commented on 2020-01-22 09:35 (UTC)

@FFY00: all your comments are correct except the last one.

The arch field is about the compatibility to use the package, not to build it. Once compiled, alacritty can only run on the arch it was built for, not on any arch (like a simple script would, for instance), so the current value is correct and changing it to any would be wrong.

Again, all your other comments are good and should be applied to this package.

FFY00 commented on 2020-01-22 01:54 (UTC) (edited on 2020-01-22 01:55 (UTC) by FFY00)

Hello, could you please fix some issues with the current PKGBUILD?

DrJPepper commented on 2019-06-09 23:14 (UTC)

I had to add

| sed s/-//g

to the echo line in pkgver() to get it to work on the latest rc release.

seo.disparate commented on 2019-05-05 05:14 (UTC)

Just as edacval mentioned, 'python' is a missing build dependency, and also 'libxcb'.

edacval commented on 2019-05-04 16:34 (UTC)

Missing 'python' in makedepends() ? :

error: failed to run custom build command for `xcb v0.8.2`
process didn't exit successfully: `/tmp/makepkg/alacritty-git/src/alacritty/target/release/build/xcb-29582f47a57e4f44/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find build dependency python3: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in package_alacritty-git().
    Aborting...

1ace commented on 2019-04-30 12:03 (UTC) (edited on 2019-04-30 12:05 (UTC) by 1ace)

Alacritty has been reorganized a bit, making the current pkgver() fails to read the version.

There's also a new rust-clipboard crate used now, which means the xclip dependency is now gone.

And while at it, git rev-parse --short should be given a length so that it gives the same output regardless of one's default settings :)

diff --git a/PKGBUILD b/PKGBUILD
index e6f0cc3c5e90590a4847..386e8546c024365f9e9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=('alacritty-git' 'alacritty-terminfo-git')
 _pkgname="alacritty"
-pkgver=0.3.2.1190.g9c6d12e
+pkgver=0.3.2.1199.g66fb7cb
 pkgrel=1
 arch=('x86_64' 'i686')
 url="https://github.com/jwilm/alacritty"
@@ -11,12 +11,12 @@ sha256sums=('SKIP')

 pkgver() {
    cd $_pkgname
-   echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+   echo "$(grep '^version =' alacritty/Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short=7 HEAD)"
 }

 package_alacritty-git() {
    pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
-   depends=('freetype2' 'fontconfig' 'xclip')
+   depends=('freetype2' 'fontconfig')
    provides=('alacritty')
    conflicts=('alacritty')

danekl commented on 2019-04-27 08:56 (UTC)

Could you please update the "tic" command to: "tic -o "$pkgdir/usr/share/terminfo" -xe alacritty,alacritty-direct alacritty.info"?

Notice the "-xe alacritty,alacritty-direct". This is from the main alacritty package in [community], and according to Alacritty's installation guidelines: https://github.com/jwilm/alacritty/blob/master/INSTALL.md#terminfo

valentjedi commented on 2019-04-24 10:55 (UTC) (edited on 2019-04-24 10:55 (UTC) by valentjedi)

@apetresc "no default toolchain configured" could be fixed by following this SO thread: https://stackoverflow.com/q/44303915/3606603

Basically, it's

rustup default stable # or rustup default nightly

And then retry the build