[arch-commits] Commit in wezterm/trunk (PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Jan 2 17:13:54 UTC 2022
Date: Sunday, January 2, 2022 @ 17:13:52
Author: orhun
Revision: 1092102
upgpkg: wezterm 20220101.133340.7edc5b5a-1: upstream release
Modified:
wezterm/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-02 15:03:46 UTC (rev 1092101)
+++ PKGBUILD 2022-01-02 17:13:52 UTC (rev 1092102)
@@ -1,8 +1,8 @@
# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
pkgname=wezterm
-pkgver=20211205.192649.672c1cc1
-_gitcommit=672c1cc135f7d366f5bd2bd79a428b2f8b2282d1
+pkgver=20220101.133340.7edc5b5a
+_gitcommit=7edc5b5ab088e7d34eb2f440648c6505f1966c61
pkgrel=1
pkgdesc="A GPU-accelerated cross-platform terminal emulator and multiplexer"
arch=('x86_64')
@@ -19,7 +19,7 @@
'xcb-util-image'
'openssl'
)
-makedepends=('rust' 'cargo' 'cmake' 'git' 'pkgconf' 'python')
+makedepends=('cargo' 'cmake' 'git' 'pkgconf' 'python' 'libssh2')
source=(
"${pkgname}::git+$url#commit=$_gitcommit"
"${pkgname}-freetype2::git+https://github.com/wez/freetype2.git"
@@ -32,6 +32,7 @@
'SKIP'
'SKIP'
'SKIP')
+options=('!lto')
prepare() {
cd "$pkgname"
@@ -43,21 +44,23 @@
git config submodule."freetype2".url "${srcdir}/${pkgname}"-freetype2
git submodule update --init --recursive
- cargo fetch --locked
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "$pkgname"
- cargo build --frozen --release
+ export RUSTUP_TOOLCHAIN=stable
+ cargo build --frozen --release
}
check() {
cd "$pkgname"
+ export RUSTUP_TOOLCHAIN=stable
cargo test --frozen -- --skip "e2e::sftp"
}
package() {
- cd "$pkgname"
+ cd "$pkgname"
install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
install -Dm 755 "target/release/$pkgname-gui" -t "$pkgdir/usr/bin"
install -Dm 755 "target/release/$pkgname-mux-server" -t "$pkgdir/usr/bin"
More information about the arch-commits
mailing list