Date: Wednesday, March 22, 2023 @ 13:45:46
  Author: orhun
Revision: 1426914

archrelease: copy trunk to community-x86_64

Added:
  wezterm/repos/community-x86_64/PKGBUILD
    (from rev 1426913, wezterm/trunk/PKGBUILD)
Deleted:
  wezterm/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  181 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 96 insertions(+), 85 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-22 13:45:23 UTC (rev 1426913)
+++ PKGBUILD    2023-03-22 13:45:46 UTC (rev 1426914)
@@ -1,85 +0,0 @@
-# Maintainer:  Orhun Parmaksız <[email protected]>
-
-pkgname=wezterm
-pkgver=20221119.145034.49b9839f
-_gitcommit=49b9839fdb41eff4d2aae3bb91e6a4befb9cd20b
-pkgrel=2
-pkgdesc="A GPU-accelerated cross-platform terminal emulator and multiplexer"
-arch=('x86_64')
-url="https://github.com/wez/wezterm";
-license=('MIT')
-depends=(
-  'ncurses'
-  'fontconfig'
-  'hicolor-icon-theme'
-  'wayland'
-  'libx11'
-  'libxkbcommon-x11'
-  'xcb-util-keysyms'
-  'xcb-util-wm'
-  'xcb-util-image'
-  'openssl'
-)
-makedepends=('cargo' 'cmake' 'git' 'pkgconf' 'python' 'libssh2')
-optdepends=(
-  'python-nautilus: WezTerm context menu in Nautilus'
-)
-source=(
-  "${pkgname}::git+$url#commit=$_gitcommit"
-  "${pkgname}-freetype2::git+https://github.com/wez/freetype2.git";
-  "${pkgname}-zlib::git+https://github.com/madler/zlib.git";
-  "${pkgname}-harfbuzz::git+https://github.com/harfbuzz/harfbuzz.git";
-  "${pkgname}-libpng::git+https://github.com/glennrp/libpng.git";
-)
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP')
-options=('!lto')
-
-prepare() {
-  cd "$pkgname"
-  git submodule init
-
-  git config submodule."harfbuzz/harfbuzz".url "${srcdir}/${pkgname}"-harfbuzz
-  git config submodule."freetype/libpng".url "${srcdir}/${pkgname}"-libpng
-  git config submodule."deps/freetype/zlib".url "${srcdir}/${pkgname}"-zlib
-  git config submodule."freetype2".url "${srcdir}/${pkgname}"-freetype2
-
-  git -c protocol.file.allow=always submodule update --init --recursive
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname"
-  export RUSTUP_TOOLCHAIN=stable
-  cargo build --frozen --release --features distro-defaults
-}
-
-check() {
-  cd "$pkgname"
-  export RUSTUP_TOOLCHAIN=stable
-  cargo test --frozen -- --skip "e2e::sftp"
-}
-
-package() {
-  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"
-  install -Dm 755 "target/release/strip-ansi-escapes" -t "$pkgdir/usr/bin"
-  install -Dm 644 "assets/icon/terminal.png" 
"$pkgdir/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.$pkgname.png"
-  install -Dm 644 "assets/$pkgname.desktop" 
"$pkgdir/usr/share/applications/org.wezfurlong.$pkgname.desktop"
-  install -Dm 644 "assets/$pkgname.appdata.xml" 
"$pkgdir/usr/share/metainfo/org.wezfurlong.$pkgname.appdata.xml"
-  install -Dm 644 "assets/$pkgname-nautilus.py" 
"$pkgdir/usr/share/nautilus-python/extensions/$pkgname-nautilus.py"
-  install -Dm 755 "assets/open-$pkgname-here" -t "$pkgdir/usr/bin"
-  install -Dm 644 assets/shell-integration/* -t "$pkgdir/etc/profile.d"
-  install -Dm 644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-  install -Dm 644 assets/shell-completion/bash 
"$pkgdir/usr/share/bash-completion/completions/$pkgname"
-  install -Dm 644 assets/shell-completion/fish 
"$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
-  install -Dm 644 assets/shell-completion/zsh 
"$pkgdir/usr/share/zsh/site-functions/_$pkgname"
-  mkdir -p "$pkgdir/usr/share/terminfo"
-  tic -x -o "$pkgdir/usr/share/terminfo" "termwiz/data/$pkgname.terminfo"
-}

Copied: wezterm/repos/community-x86_64/PKGBUILD (from rev 1426913, 
wezterm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-22 13:45:46 UTC (rev 1426914)
@@ -0,0 +1,96 @@
+# Maintainer:  Orhun Parmaksız <[email protected]>
+
+pkgbase=wezterm
+pkgname=(wezterm wezterm-terminfo wezterm-shell-integration)
+pkgver=20230320.124340.559cb7b0
+_gitcommit=559cb7b0a72606a45673004ae7b5420268d843c6
+pkgrel=1
+pkgdesc="A GPU-accelerated cross-platform terminal emulator and multiplexer"
+arch=('x86_64')
+url="https://github.com/wez/wezterm";
+license=('MIT')
+depends=(
+  'fontconfig'
+  'hicolor-icon-theme'
+  'wayland'
+  'libx11'
+  'libxkbcommon-x11'
+  'xcb-util-keysyms'
+  'xcb-util-wm'
+  'xcb-util-image'
+  'openssl'
+)
+makedepends=('cargo' 'cmake' 'git' 'pkgconf' 'python' 'libssh2')
+source=(
+  "${pkgname}::git+$url#commit=$_gitcommit"
+  "${pkgname}-freetype2::git+https://github.com/wez/freetype2.git";
+  "${pkgname}-zlib::git+https://github.com/madler/zlib.git";
+  "${pkgname}-harfbuzz::git+https://github.com/harfbuzz/harfbuzz.git";
+  "${pkgname}-libpng::git+https://github.com/glennrp/libpng.git";
+)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')
+options=('!lto')
+
+prepare() {
+  cd "$pkgname"
+  git submodule init
+
+  git config submodule."harfbuzz/harfbuzz".url "${srcdir}/${pkgname}"-harfbuzz
+  git config submodule."freetype/libpng".url "${srcdir}/${pkgname}"-libpng
+  git config submodule."deps/freetype/zlib".url "${srcdir}/${pkgname}"-zlib
+  git config submodule."freetype2".url "${srcdir}/${pkgname}"-freetype2
+
+  git -c protocol.file.allow=always submodule update --init --recursive
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname"
+  cargo build --frozen --release --features distro-defaults
+}
+
+check() {
+  cd "$pkgname"
+  cargo test --frozen -- --skip "e2e::sftp"
+}
+
+package_wezterm() {
+  depends+=('wezterm-terminfo' 'wezterm-shell-integration')
+  optdepends=(
+    'python-nautilus: WezTerm context menu in Nautilus'
+  )
+
+  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"
+  install -Dm 755 "target/release/strip-ansi-escapes" -t "$pkgdir/usr/bin"
+  install -Dm 644 "assets/icon/terminal.png" 
"$pkgdir/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.$pkgname.png"
+  install -Dm 644 "assets/$pkgname.desktop" 
"$pkgdir/usr/share/applications/org.wezfurlong.$pkgname.desktop"
+  install -Dm 644 "assets/$pkgname.appdata.xml" 
"$pkgdir/usr/share/metainfo/org.wezfurlong.$pkgname.appdata.xml"
+  install -Dm 644 "assets/$pkgname-nautilus.py" 
"$pkgdir/usr/share/nautilus-python/extensions/$pkgname-nautilus.py"
+  install -Dm 755 "assets/open-$pkgname-here" -t "$pkgdir/usr/bin"
+  install -Dm 644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 assets/shell-completion/bash 
"$pkgdir/usr/share/bash-completion/completions/$pkgname"
+  install -Dm 644 assets/shell-completion/fish 
"$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
+  install -Dm 644 assets/shell-completion/zsh 
"$pkgdir/usr/share/zsh/site-functions/_$pkgname"
+}
+
+package_wezterm-terminfo() {
+  pkgdesc='Terminfo for wezterm'
+  depends=('ncurses')
+  mkdir -p "$pkgdir/usr/share/terminfo"
+  tic -x -o "$pkgdir/usr/share/terminfo" 
"$pkgbase/termwiz/data/$pkgbase.terminfo"
+}
+
+package_wezterm-shell-integration() {
+  pkgdesc='Shell integration scripts for wezterm'
+  install -Dm 644 "$pkgbase"/assets/shell-integration/* -t 
"$pkgdir/etc/profile.d"
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to