Date: Sunday, January 23, 2022 @ 15:25:19 Author: orhun Revision: 1113615
archrelease: copy trunk to community-x86_64 Added: broot/repos/community-x86_64/PKGBUILD (from rev 1113614, broot/trunk/PKGBUILD) Deleted: broot/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 46 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-23 15:25:00 UTC (rev 1113614) +++ PKGBUILD 2022-01-23 15:25:19 UTC (rev 1113615) @@ -1,40 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> -# Contributor: Adam Fontenot <adam.m.fonte...@gmail.com> -# Contributor: Daniel M. Capella <poly...@archlinux.org> - -pkgname=broot -pkgver=1.9.1 -pkgrel=1 -pkgdesc='Fuzzy Search + tree + cd' -arch=('x86_64') -url=https://github.com/Canop/broot -license=('MIT') -depends=('gcc-libs' 'zlib' 'libgit2') -makedepends=('rust') -options=('!lto') -source=("https://github.com/Canop/broot/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") -sha256sums=('5afb828b9d15f0ea2e06636f1a951ee51ca06826e96a892813daebdc7bb90a59') - -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 - install -Dm644 man/page "$pkgdir/usr/share/man/man1/$pkgname.1" - 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 1113614, broot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-23 15:25:19 UTC (rev 1113615) @@ -0,0 +1,46 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: Adam Fontenot <adam.m.fonte...@gmail.com> +# Contributor: Daniel M. Capella <poly...@archlinux.org> + +pkgname=broot +pkgver=1.9.2 +pkgrel=1 +pkgdesc='Fuzzy Search + tree + cd' +arch=('x86_64') +url=https://github.com/Canop/broot +license=('MIT') +depends=('gcc-libs' 'zlib' 'libgit2') +makedepends=('rust') +options=('!lto') +source=("https://github.com/Canop/broot/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") +sha256sums=('4d8a90c0bfe8bf771d32a434ea54adef0242239312b6c2dafef550356c9b2ad0') + +prepare() { + cd $pkgname-$pkgver + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd $pkgname-$pkgver + cargo build --release --frozen +} + +check() { + cd $pkgname-$pkgver + cargo test --frozen +} + +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 + install -Dm644 man/page "$pkgdir/usr/share/man/man1/$pkgname.1" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: