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

Alexander Rødseth arodseth at gemini.archlinux.org
Tue Aug 16 17:36:04 UTC 2022


    Date: Tuesday, August 16, 2022 @ 17:36:04
  Author: arodseth
Revision: 1266654

upgpkg: exa 0.10.1-6

Modified:
  exa/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-16 17:31:45 UTC (rev 1266653)
+++ PKGBUILD	2022-08-16 17:36:04 UTC (rev 1266654)
@@ -5,7 +5,7 @@
 
 pkgname=exa
 pkgver=0.10.1
-pkgrel=5
+pkgrel=6
 pkgdesc='ls replacement'
 arch=(x86_64)
 url='https://the.exa.website/'
@@ -16,7 +16,7 @@
 b2sums=('07f489fc0f3a755ea4ac6374e6ebd7b17d8d4fc6de92e695ea9b2868bcbca9c6f2788ec11329d0051abc2ffb8d1746898bdcef8a1d18ba9d67c94a627d30b6e2')
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   # Fix outdated Cargo.lock
   sed -i 's/version = "0.11.0-pre"/version = "0.10.1"/' Cargo.lock
   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
@@ -25,8 +25,9 @@
 build() {
   cd $pkgname-$pkgver
   cargo build --frozen --release
-  pandoc --standalone -f markdown -t man man/exa.1.md > exa.1
-  pandoc --standalone -f markdown -t man man/exa_colors.5.md > exa_colors.5
+  for manpage in exa.1 exa_colors.5; do
+    pandoc --standalone -f markdown -t man man/$manpage.md > $manpage
+  done
 }
 
 package() {



More information about the arch-commits mailing list