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

Jiachen Yang farseerfc at archlinux.org
Thu Jan 31 06:05:46 UTC 2019


    Date: Thursday, January 31, 2019 @ 06:05:45
  Author: farseerfc
Revision: 428689

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   99 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-31 06:05:00 UTC (rev 428688)
+++ PKGBUILD	2019-01-31 06:05:45 UTC (rev 428689)
@@ -1,49 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
-# Contributor: kpcyrd <git at rxv.cc>
-# Contributor: quininer <quininer at live.com>
-pkgbase='alacritty'
-pkgname=('alacritty' 'alacritty-terminfo')
-pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
-_pkgver=0.2.7
-pkgver=$_pkgver
-pkgrel=1
-arch=('x86_64')
-url="https://github.com/jwilm/alacritty"
-license=('Apache')
-makedepends=('rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils')
-source=("${pkgbase}-${_pkgver}.tar.gz::https://github.com/jwilm/${pkgbase}/archive/v${_pkgver}.tar.gz")
-sha256sums=('2d12fd880174fc6530df3718725395e95682444fae04402f37f67a03ba1d5796')
-
-build(){
-  cd $pkgbase-$_pkgver
-  env CARGO_INCREMENTAL=0 cargo build --release --locked
-}
-
-check(){
-  cd $pkgbase-$_pkgver
-  env CARGO_INCREMENTAL=0 cargo test --release
-}
-
-package_alacritty() {
-  depends=('freetype2' 'fontconfig' 'xclip' 'libxi' 'libxcursor')
-  
-  cd $pkgbase-$_pkgver
-  desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "alacritty.desktop"
-  
-  install -D -m755 "target/release/alacritty" "$pkgdir/usr/bin/alacritty"
-  install -D -m644 "alacritty.man" "$pkgdir/usr/share/man/man1/alacritty.1"
-  install -D -m644 "alacritty-completions.bash" "$pkgdir/usr/share/bash-completion/completions/alacritty"
-  install -D -m644 "alacritty-completions.zsh" "$pkgdir/usr/share/zsh/site-functions/_alacritty"
-  install -D -m644 "alacritty-completions.fish" "$pkgdir/usr/share/fish/completions/alacritty.fish"
-}
-
-package_alacritty-terminfo() {
-  pkgdesc="Terminfo files for the alacritty terminal emulator"
-  depends=('ncurses')
-  
-  cd $pkgbase-$_pkgver
-  
-  install -dm 755 "$pkgdir/usr/share/terminfo/a/"
-  tic -o "$pkgdir/usr/share/terminfo" alacritty.info
-}

Copied: alacritty/repos/community-x86_64/PKGBUILD (from rev 428688, alacritty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-31 06:05:45 UTC (rev 428689)
@@ -0,0 +1,50 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: kpcyrd <git at rxv.cc>
+# Contributor: quininer <quininer at live.com>
+pkgbase='alacritty'
+pkgname=('alacritty' 'alacritty-terminfo')
+pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
+_pkgver=0.2.7
+pkgver=$_pkgver
+pkgrel=2
+arch=('x86_64')
+url="https://github.com/jwilm/alacritty"
+license=('Apache')
+makedepends=('rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils')
+source=("${pkgbase}-${_pkgver}.tar.gz::https://github.com/jwilm/${pkgbase}/archive/v${_pkgver}.tar.gz")
+sha256sums=('2d12fd880174fc6530df3718725395e95682444fae04402f37f67a03ba1d5796')
+
+build(){
+  cd $pkgbase-$_pkgver
+  env CARGO_INCREMENTAL=0 cargo build --release --locked
+}
+
+check(){
+  cd $pkgbase-$_pkgver
+  env CARGO_INCREMENTAL=0 cargo test --release
+}
+
+package_alacritty() {
+  depends=('freetype2' 'fontconfig' 'xclip' 'libxi' 'libxcursor')
+  optdepends=('alacritty-terminfo: terminfo for alacritty')
+  
+  cd $pkgbase-$_pkgver
+  desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "alacritty.desktop"
+  
+  install -D -m755 "target/release/alacritty" "$pkgdir/usr/bin/alacritty"
+  install -D -m644 "alacritty.man" "$pkgdir/usr/share/man/man1/alacritty.1"
+  install -D -m644 "alacritty-completions.bash" "$pkgdir/usr/share/bash-completion/completions/alacritty"
+  install -D -m644 "alacritty-completions.zsh" "$pkgdir/usr/share/zsh/site-functions/_alacritty"
+  install -D -m644 "alacritty-completions.fish" "$pkgdir/usr/share/fish/completions/alacritty.fish"
+}
+
+package_alacritty-terminfo() {
+  pkgdesc="Terminfo files for the alacritty terminal emulator"
+  depends=('ncurses')
+  
+  cd $pkgbase-$_pkgver
+  
+  install -dm 755 "$pkgdir/usr/share/terminfo/a/"
+  tic -o "$pkgdir/usr/share/terminfo" alacritty.info
+}


More information about the arch-commits mailing list