diff --git a/PKGBUILD b/PKGBUILD index ea37312..638a324 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -46,23 +46,26 @@ prepare() { git config submodule."freetype2".url "${srcdir}/${pkgname}"-freetype2 git -c protocol.file.allow=always submodule update --init --recursive + sed -i 's/"vendored-fonts", //' wezterm-gui/Cargo.toml cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } build() { cd "$pkgname" - cargo build --frozen --release --features distro-defaults + LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo build --frozen --release --features distro-defaults } check() { cd "$pkgname" - cargo test --frozen -- --skip "e2e::sftp" + LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo test --frozen -- --skip "e2e::sftp" } package_wezterm() { - depends+=('wezterm-terminfo' 'wezterm-shell-integration') + depends+=('libssh2' 'ttf-jetbrains-font' 'ttf-roboto' 'wezterm-terminfo' 'wezterm-shell-integration') optdepends=( 'python-nautilus: WezTerm context menu in Nautilus' + 'ttf-nerd-fonts-symbols-mono' + 'noto-fonts-emoji' ) cd "$pkgname"