[arch-commits] Commit in alacritty/trunk (PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Wed Oct 7 01:48:18 UTC 2020


    Date: Wednesday, October 7, 2020 @ 01:48:18
  Author: farseerfc
Revision: 720154

upgpkg: alacritty 0.5.0-2: alacritty switch to signed git tag

Modified:
  alacritty/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-07 01:47:45 UTC (rev 720153)
+++ PKGBUILD	2020-10-07 01:48:18 UTC (rev 720154)
@@ -4,31 +4,31 @@
 # Contributor: quininer <quininer at live.com>
 pkgname='alacritty'
 pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
-_pkgver=0.5.0
-pkgver="$_pkgver"
-pkgrel=1
+pkgver=0.5.0
+pkgrel=2
 arch=('x86_64')
 url="https://github.com/jwilm/alacritty"
 license=('Apache')
-makedepends=('rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils' 'gdb' 'libxcb')
+makedepends=('git' 'rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils' 'gdb' 'libxcb')
 depends=('freetype2' 'fontconfig' 'libxi' 'libxcursor' 'libxrandr')
 checkdepends=('ttf-dejavu') # for monospace fontconfig test
 optdepends=('ncurses: for alacritty terminfo database')
-source=("${pkgname}-${_pkgver}.tar.gz::https://github.com/jwilm/${pkgname}/archive/v${_pkgver}.tar.gz")
-sha256sums=('9bc0e6ff9a0772ea522d7e34ab8371faa96e6cc4e588459966585f0dbb848dcb')
+source=(git+https://github.com/jwilm/alacritty.git#tag=v${pkgver}?signed)
+validpgpkeys=('4DAA67A9EA8B91FCC15B699C85CDAE3C164BA7B4') # Christian Dürr
+sha256sums=('SKIP')
 
 build(){
-  cd "$pkgbase-$_pkgver"
+  cd "$pkgname"
   env CARGO_INCREMENTAL=0 cargo build --release --locked
 }
 
 check(){
-  cd "$pkgbase-$_pkgver"
+  cd "$pkgname"
   env CARGO_INCREMENTAL=0 cargo test --release --locked
 }
 
 package() {
-  cd "$pkgbase-$_pkgver"
+  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"



More information about the arch-commits mailing list