[arch-commits] Commit in broot/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Jul 27 23:49:10 UTC 2020
Date: Monday, July 27, 2020 @ 23:49:09
Author: svenstaro
Revision: 665557
upgpkg: broot 0.19.3-1
Modified:
broot/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-27 23:37:54 UTC (rev 665556)
+++ PKGBUILD 2020-07-27 23:49:09 UTC (rev 665557)
@@ -28,9 +28,10 @@
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
+ # Theoretically we could get the date from the CHANGELOG.md but it seems that the
+ # CHANGELOG.md entry for the current version isn't actually in the current release.
+ # changelog_date=$(sed -n "s/.*v$pkgver - \(.*\)$/\1/p" CHANGELOG.md)
+ sed -i "s/#date//" 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