Date: Sunday, July 11, 2021 @ 20:45:07 Author: orhun Revision: 976590
archrelease: copy trunk to community-x86_64 Added: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 976589, uutils-coreutils/trunk/PKGBUILD) uutils-coreutils/repos/community-x86_64/tests.patch (from rev 976589, uutils-coreutils/trunk/tests.patch) Deleted: uutils-coreutils/repos/community-x86_64/PKGBUILD uutils-coreutils/repos/community-x86_64/tests.patch -------------+ PKGBUILD | 108 +++++++++++++++++++++++++++++----------------------------- tests.patch | 20 +++++----- 2 files changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-11 20:44:53 UTC (rev 976589) +++ PKGBUILD 2021-07-11 20:45:07 UTC (rev 976590) @@ -1,54 +0,0 @@ -# Maintainer: Filipe Laíns (ffy00) <la...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Maintainer: Orhun Parmaksız <or...@archlinux.org> - -_pkgname=coreutils -pkgname=uutils-$_pkgname -pkgver=0.0.6 -pkgrel=1 -pkgdesc='Cross-platform Rust rewrite of the GNU coreutils' -arch=('x86_64') -url='https://github.com/uutils/coreutils' -license=('MIT') -depends=('glibc' 'gcc-libs') -makedepends=('rust' 'cargo' 'python-sphinx') -source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" - tests.patch) -sha512sums=('e96121d3e5535f3c83abc001d8178fd4fd367b9309aed7be28ad4ba965e1fc02fa7f070338cd34b508fcfe99e78a53195e8f313500ba50c1ac7a825ba746c8d8' - '1a84aefb95cf6d4ae7582948c5ab3c357269dcd5b2261006b006f7a1b37d3d2a336c47479ab98a390661ee376b9813408af849a91ba0f2bd2493c6a680e07f2a') - -prepare() { - cd $_pkgname-$pkgver - sed 's|"bin"|"builduser"|g' -i tests/by-util/test_{chgrp,chown}.rs - patch -Np1 < ../tests.patch -} - -build() { - cd $_pkgname-$pkgver - - make PROFILE=release -} - -check() { - cd $_pkgname-$pkgver - - make test \ - PROFILE=release \ - CARGOFLAGS=--release \ - TEST_NO_FAIL_FAST="--no-fail-fast -- --skip test_chown::test_big_p --skip test_chgrp::test_big_p" -} - -package() { - cd $_pkgname-$pkgver - - make install \ - DESTDIR="$pkgdir" \ - PREFIX=/usr \ - MANDIR=/share/man/man1 \ - PROG_PREFIX=uu- \ - PROFILE=release - - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim: ts=2 sw=2 et: Copied: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 976589, uutils-coreutils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-11 20:45:07 UTC (rev 976590) @@ -0,0 +1,54 @@ +# Maintainer: Filipe Laíns (ffy00) <la...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Orhun Parmaksız <or...@archlinux.org> + +_pkgname=coreutils +pkgname=uutils-$_pkgname +pkgver=0.0.7 +pkgrel=1 +pkgdesc='Cross-platform Rust rewrite of the GNU coreutils' +arch=('x86_64') +url='https://github.com/uutils/coreutils' +license=('MIT') +depends=('glibc' 'gcc-libs') +makedepends=('rust' 'cargo' 'python-sphinx') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" + tests.patch) +sha512sums=('7e91ffdc1a3a560b6778bf7ec78e6c95bb915dafd983476375a9596a6ea18f758409c9ca3cad2840ac8eed1f549ffcb8b1c9aaef18a5d1645a2b6e539375c39f' + '1a84aefb95cf6d4ae7582948c5ab3c357269dcd5b2261006b006f7a1b37d3d2a336c47479ab98a390661ee376b9813408af849a91ba0f2bd2493c6a680e07f2a') + +prepare() { + cd $_pkgname-$pkgver + sed 's|"bin"|"builduser"|g' -i tests/by-util/test_{chgrp,chown}.rs + patch -Np1 < ../tests.patch +} + +build() { + cd $_pkgname-$pkgver + + make PROFILE=release +} + +check() { + cd $_pkgname-$pkgver + + make test \ + PROFILE=release \ + CARGOFLAGS=--release \ + TEST_NO_FAIL_FAST="--no-fail-fast -- --skip test_chown::test_big_p --skip test_chgrp::test_big_p" +} + +package() { + cd $_pkgname-$pkgver + + make install \ + DESTDIR="$pkgdir" \ + PREFIX=/usr \ + MANDIR=/share/man/man1 \ + PROG_PREFIX=uu- \ + PROFILE=release + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim: ts=2 sw=2 et: Deleted: tests.patch =================================================================== --- tests.patch 2021-07-11 20:44:53 UTC (rev 976589) +++ tests.patch 2021-07-11 20:45:07 UTC (rev 976590) @@ -1,10 +0,0 @@ ---- a/GNUmakefile 2021-03-10 16:28:55.907870273 +0100 -+++ b/GNUmakefile 2021-03-10 16:29:10.181165402 +0100 -@@ -175,6 +175,7 @@ - fold \ - hashsum \ - head \ -+ id \ - install \ - link \ - ln \ Copied: uutils-coreutils/repos/community-x86_64/tests.patch (from rev 976589, uutils-coreutils/trunk/tests.patch) =================================================================== --- tests.patch (rev 0) +++ tests.patch 2021-07-11 20:45:07 UTC (rev 976590) @@ -0,0 +1,10 @@ +--- a/GNUmakefile 2021-03-10 16:28:55.907870273 +0100 ++++ b/GNUmakefile 2021-03-10 16:29:10.181165402 +0100 +@@ -175,6 +175,7 @@ + fold \ + hashsum \ + head \ ++ id \ + install \ + link \ + ln \