Mail archive
alpine-aports

[alpine-aports] Re: [PATCH v3] testing/alacritty: new APKBUILD

From: Henrik Riomar <henrik.riomar_at_gmail.com>
Date: Mon, 4 Mar 2019 11:24:42 +0100

Yes seems xclip was the missing check depend. But now the test fails on
"Can't open display: (null)"

/ Henrik

On Sun, Mar 3, 2019, 22:01 Drew DeVault <sir_at_cmpwn.com> wrote:

> ---
> testing/alacritty/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
> create mode 100644 testing/alacritty/APKBUILD
>
> diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
> new file mode 100644
> index 0000000000..cdf9c288d4
> --- /dev/null
> +++ b/testing/alacritty/APKBUILD
> _at__at_ -0,0 +1,34 @@
> +# Maintainer: Drew DeVault <sir_at_cmpwn.com>
> +pkgname=alacritty
> +pkgver=0.2.9
> +pkgrel=0
> +pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
> +url="https://github.com/jwilm/alacritty"
> +arch="x86_64" # via Rust
> +license="Apache-2.0"
> +makedepends="rust cargo cmake fontconfig-dev freetype-dev"
> +checkdepends="xclip"
> +subpackages="$pkgname-doc"
> +source="$pkgname-$pkgver.tar.gz::
> https://github.com/jwilm/$pkgname/archive/v$pkgver.tar.gz"
> +builddir="$srcdir/$pkgname-$pkgver"
> +export CARGO_HOME="$srcdir"/cargo
> +export RUSTFLAGS="-C target-feature=-crt-static"
> +
> +build() {
> + cd "$builddir"
> + cargo build --release --verbose
> +}
> +
> +check() {
> + cd "$builddir"
> + cargo test --all --release --verbose
> +}
> +
> +package() {
> + cd "$builddir"
> + install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
> + install -Dm644 alacritty.man
> "$pkgdir"/usr/share/man/man1/alacritty.1
> + install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
> +}
> +
> +sha512sums="c36dea633d5c9faa42956eff47fbd676b5f3a5ef28ae7d6711145f76e99ae92aa8ddcdde1eb5bc700855af5928e2da0b4be3f618bb05aa93c284b73727b2e337
> alacritty-0.2.9.tar.gz"
> --
> 2.21.0
>
>



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Mar 04 2019 - 11:24:42 UTC