[arch-commits] Commit in broot/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Jul 27 23:49:16 UTC 2020
Date: Monday, July 27, 2020 @ 23:49:16
Author: svenstaro
Revision: 665558
archrelease: copy trunk to community-x86_64
Added:
broot/repos/community-x86_64/PKGBUILD
(from rev 665557, broot/trunk/PKGBUILD)
Deleted:
broot/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 40 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-27 23:49:09 UTC (rev 665557)
+++ PKGBUILD 2020-07-27 23:49:16 UTC (rev 665558)
@@ -1,33 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Adam Fontenot <adam.m.fontenot at gmail.com>
-# Contributor: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=broot
-pkgver=0.19.2
-pkgrel=1
-pkgdesc='Fuzzy Search + tree + cd'
-arch=('x86_64')
-url=https://github.com/Canop/broot
-license=('MIT')
-depends=('gcc-libs' 'zlib')
-makedepends=('rust')
-source=("https://github.com/Canop/broot/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-sha256sums=('7d26392e1e70d382d20ef478a2dfa093c410f8db2d2689615c89cf3f69166063')
-
-build() {
- cd $pkgname-$pkgver
- cargo build --release --locked
-}
-
-check() {
- cd $pkgname-$pkgver
- cargo test --release --locked
-}
-
-package() {
- cd $pkgname-$pkgver
- install -Dt "$pkgdir"/usr/bin target/release/$pkgname
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: broot/repos/community-x86_64/PKGBUILD (from rev 665557, broot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-27 23:49:16 UTC (rev 665558)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Adam Fontenot <adam.m.fontenot at gmail.com>
+# Contributor: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=broot
+pkgver=0.19.3
+pkgrel=1
+pkgdesc='Fuzzy Search + tree + cd'
+arch=('x86_64')
+url=https://github.com/Canop/broot
+license=('MIT')
+depends=('gcc-libs' 'zlib')
+makedepends=('rust')
+source=("https://github.com/Canop/broot/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+sha256sums=('8aa62073ba4c68d7df3e5a83271fc7c2ffa3c24d041005e69a28b3b8ef7d7bdf')
+
+build() {
+ cd $pkgname-$pkgver
+ cargo build --release --locked
+}
+
+check() {
+ cd $pkgname-$pkgver
+ cargo test --release --locked
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dt "$pkgdir"/usr/bin target/release/$pkgname
+ sed -i "s/#version/$pkgver/" 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"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list