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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jul 27 22:55:25 UTC 2020


    Date: Monday, July 27, 2020 @ 22:55:24
  Author: svenstaro
Revision: 665552

upgpkg: broot 0.19.3-1

Modified:
  broot/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-27 22:55:11 UTC (rev 665551)
+++ PKGBUILD	2020-07-27 22:55:24 UTC (rev 665552)
@@ -3,7 +3,7 @@
 # Contributor: Daniel M. Capella <polyzen at archlinux.org>
 
 pkgname=broot
-pkgver=0.19.2
+pkgver=0.19.3
 pkgrel=1
 pkgdesc='Fuzzy Search + tree + cd'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 depends=('gcc-libs' 'zlib')
 makedepends=('rust')
 source=("https://github.com/Canop/broot/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-sha256sums=('7d26392e1e70d382d20ef478a2dfa093c410f8db2d2689615c89cf3f69166063')
+sha256sums=('8aa62073ba4c68d7df3e5a83271fc7c2ffa3c24d041005e69a28b3b8ef7d7bdf')
 
 build() {
   cd $pkgname-$pkgver
@@ -27,6 +27,12 @@
 package() {
   cd $pkgname-$pkgver
   install -Dt "$pkgdir"/usr/bin target/release/$pkgname
+  sed -i "s/#version/$pkgver/" man/page
+  changelog_date=$(sed -n "s/.*v$pkgver - \(.*\)$/\1/p" CHANGELOG.md)
+  sed -i "s/#date/$changelog_date/" man/page
+  head man/page
+  gzip --best man/page
+  install -Dm644 man/page.gz "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 



More information about the arch-commits mailing list