Date: Friday, December 3, 2021 @ 05:21:04
  Author: polyzen
Revision: 1064721

archrelease: copy trunk to community-x86_64

Added:
  alacritty/repos/community-x86_64/PKGBUILD
    (from rev 1064720, alacritty/trunk/PKGBUILD)
Deleted:
  alacritty/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 48 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-12-03 05:19:24 UTC (rev 1064720)
+++ PKGBUILD    2021-12-03 05:21:04 UTC (rev 1064721)
@@ -1,42 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org>
-# Maintainer: Jiachen YANG <farsee...@archlinux.org>
-# Contributor: kpcyrd <g...@rxv.cc>
-# Contributor: quininer <quini...@live.com>
-pkgname='alacritty'
-pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
-pkgver=0.9.0
-pkgrel=1
-arch=('x86_64')
-url="https://github.com/alacritty/alacritty";
-license=('Apache')
-makedepends=('git' 'rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 
'desktop-file-utils' 'gdb' 'libxcb' 'libxkbcommon')
-depends=('freetype2' 'fontconfig' 'libxi' 'libxcursor' 'libxrandr')
-checkdepends=('ttf-dejavu') # for monospace fontconfig test
-optdepends=('ncurses: for alacritty terminfo database')
-source=("git+$url.git#tag=v${pkgver}?signed")
-validpgpkeys=('4DAA67A9EA8B91FCC15B699C85CDAE3C164BA7B4') # Christian Dürr
-sha256sums=('SKIP')
-
-build(){
-  cd "$pkgname"
-  env CARGO_INCREMENTAL=0 cargo build --release --locked
-}
-
-check(){
-  cd "$pkgname"
-  env CARGO_INCREMENTAL=0 cargo test --release --locked
-}
-
-package() {
-  cd "$pkgname"
-  desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" 
"extra/linux/Alacritty.desktop"
-  install -D -m755 "target/release/alacritty" "$pkgdir/usr/bin/alacritty"
-  install -D -m644 "extra/alacritty.man" 
"$pkgdir/usr/share/man/man1/alacritty.1"
-  install -D -m644 "extra/linux/io.alacritty.Alacritty.appdata.xml" 
"$pkgdir/usr/share/appdata/io.alacritty.Alacritty.appdata.xml"
-  install -D -m644 "alacritty.yml" 
"$pkgdir/usr/share/doc/alacritty/example/alacritty.yml"
-  install -D -m644 "extra/completions/alacritty.bash" 
"$pkgdir/usr/share/bash-completion/completions/alacritty"
-  install -D -m644 "extra/completions/_alacritty" 
"$pkgdir/usr/share/zsh/site-functions/_alacritty"
-  install -D -m644 "extra/completions/alacritty.fish" 
"$pkgdir/usr/share/fish/vendor_completions.d/alacritty.fish"
-  install -D -m644 "extra/logo/alacritty-term.svg" 
"$pkgdir/usr/share/pixmaps/Alacritty.svg"
-}
-

Copied: alacritty/repos/community-x86_64/PKGBUILD (from rev 1064720, 
alacritty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-12-03 05:21:04 UTC (rev 1064721)
@@ -0,0 +1,48 @@
+# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org>
+# Maintainer: Jiachen YANG <farsee...@archlinux.org>
+# Maintainer: Daniel M. Capella <poly...@archlinux.org>
+# Contributor: kpcyrd <g...@rxv.cc>
+# Contributor: quininer <quini...@live.com>
+pkgname='alacritty'
+pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
+pkgver=0.9.0
+pkgrel=2
+arch=('x86_64')
+url="https://github.com/alacritty/alacritty";
+license=('Apache')
+makedepends=('git' 'rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 
'desktop-file-utils' 'gdb' 'libxcb' 'libxkbcommon')
+depends=('freetype2' 'fontconfig' 'libxi' 'libxcursor' 'libxrandr')
+checkdepends=('ttf-dejavu') # for monospace fontconfig test
+optdepends=('ncurses: for alacritty terminfo database')
+source=("git+$url.git#tag=v${pkgver}?signed")
+validpgpkeys=('4DAA67A9EA8B91FCC15B699C85CDAE3C164BA7B4') # Christian Dürr
+sha256sums=('SKIP')
+
+prepare() {
+  cd "$pkgname"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build(){
+  cd "$pkgname"
+  env CARGO_INCREMENTAL=0 cargo build --release --locked
+}
+
+check(){
+  cd "$pkgname"
+  env CARGO_INCREMENTAL=0 cargo test --locked
+}
+
+package() {
+  cd "$pkgname"
+  desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" 
"extra/linux/Alacritty.desktop"
+  install -D -m755 "target/release/alacritty" "$pkgdir/usr/bin/alacritty"
+  install -D -m644 "extra/alacritty.man" 
"$pkgdir/usr/share/man/man1/alacritty.1"
+  install -D -m644 "extra/linux/io.alacritty.Alacritty.appdata.xml" 
"$pkgdir/usr/share/appdata/io.alacritty.Alacritty.appdata.xml"
+  install -D -m644 "alacritty.yml" 
"$pkgdir/usr/share/doc/alacritty/example/alacritty.yml"
+  install -D -m644 "extra/completions/alacritty.bash" 
"$pkgdir/usr/share/bash-completion/completions/alacritty"
+  install -D -m644 "extra/completions/_alacritty" 
"$pkgdir/usr/share/zsh/site-functions/_alacritty"
+  install -D -m644 "extra/completions/alacritty.fish" 
"$pkgdir/usr/share/fish/vendor_completions.d/alacritty.fish"
+  install -D -m644 "extra/logo/alacritty-term.svg" 
"$pkgdir/usr/share/pixmaps/Alacritty.svg"
+}
+

Reply via email to