fork/wezterm
git clone https://git.julia.blue/fork/wezterm
11c4b1166
termiz-0.23.3
1# Maintainer: Wez Furlong <wez at wezfurlong dot org> 2# NOTE: if you're looking at this on AUR, this file is generated from 3# https://github.com/wezterm/wezterm/blob/main/ci/PKGBUILD.template 4# by automation in the wezterm repo. 5 6pkgname=wezterm-bin 7_tag=@TAG@ 8pkgver=$(echo $_tag | tr - .) 9pkgrel=2 10pkgdesc='A GPU-accelerated cross-platform terminal emulator and multiplexer implemented in Rust' 11arch=('i686' 'x86_64') 12url='https://wezterm.org' 13license=('MIT') 14provides=('wezterm') 15conflicts=('wezterm') 16# Don't strip: it will break the binary and it only saves ~10% anyway 17options=('!strip') 18makedepends=('fuse') 19depends=( 20 'dbus' 21 'fontconfig' 22 'hicolor-icon-theme' 23 'libx11' 24 'libxkbcommon-x11' 25 'wayland' 26 'xcb-util-keysyms' 27 'xcb-util-wm' 28) 29optdepends=( 30 'python-nautilus: WezTerm context menu in Nautilus' 31) 32source=( 33 "wezterm::https://github.com/wezterm/wezterm/releases/download/${_tag}/WezTerm-${_tag}-Ubuntu16.04.AppImage" 34 'LICENSE::https://github.com/wezterm/wezterm/raw/main/LICENSE.md' 35) 36sha256sums=( 37 '@SHA256@' 38 'ad915d9508677a4e94e4b3c0a045fedd20e953d95d7cd3ec97e6d16840fa0ed5' 39) 40 41prepare() { 42 chmod +x "${srcdir}/wezterm" 43} 44 45pkgver() { 46 "${srcdir}/wezterm" --version | cut -d' ' -f2 | tr - . 47} 48 49build() { 50 "${srcdir}/wezterm" --appimage-extract >/dev/null 51} 52 53package() { 54 install -Dm755 squashfs-root/usr/bin/wezterm -t "${pkgdir}/usr/bin/" 55 install -Dm755 squashfs-root/usr/bin/wezterm-gui -t "${pkgdir}/usr/bin/" 56 install -Dm755 squashfs-root/usr/bin/wezterm-mux-server -t "${pkgdir}/usr/bin/" 57 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" 58 install -Dm644 squashfs-root/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png \ 59 "${pkgdir}/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png" 60 install -Dm644 squashfs-root/usr/share/applications/org.wezfurlong.wezterm.desktop \ 61 "${pkgdir}/usr/share/applications/org.wezfurlong.wezterm.desktop" 62 install -Dm644 squashfs-root/usr/share/nautilus-python/extensions/wezterm-nautilus.py \ 63 "${pkgdir}/usr/share/nautilus-python/extensions/wezterm-nautilus.py" 64}