[arch-commits] Commit in wezterm/repos/community-x86_64 (PKGBUILD PKGBUILD)

Orhun Parmaksiz orhun at gemini.archlinux.org
Sat Apr 30 12:56:51 UTC 2022


    Date: Saturday, April 30, 2022 @ 12:56:51
  Author: orhun
Revision: 1191937

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  152 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 78 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 12:56:38 UTC (rev 1191936)
+++ PKGBUILD	2022-04-30 12:56:51 UTC (rev 1191937)
@@ -1,74 +0,0 @@
-# Maintainer:  Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=wezterm
-pkgver=20220408.101518.b908e2dd
-_gitcommit=b908e2dd8cd27c613c8d76e9e6abc5245e500d7d
-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 submodule update --init --recursive
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname"
-  export RUSTUP_TOOLCHAIN=stable
-  cargo build --frozen --release
-}
-
-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/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"
-}

Copied: wezterm/repos/community-x86_64/PKGBUILD (from rev 1191936, wezterm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-30 12:56:51 UTC (rev 1191937)
@@ -0,0 +1,78 @@
+# Maintainer:  Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=wezterm
+pkgver=20220408.101518.b908e2dd
+_gitcommit=b908e2dd8cd27c613c8d76e9e6abc5245e500d7d
+pkgrel=2
+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')
+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 submodule update --init --recursive
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname"
+  export RUSTUP_TOOLCHAIN=stable
+  cargo build --frozen --release
+}
+
+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 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"
+}



More information about the arch-commits mailing list