Date: Sunday, March 26, 2023 @ 03:08:23 Author: seblu Revision: 472037
db-move: moved coreutils from [testing] to [core] (x86_64) Added: coreutils/repos/core-x86_64/PKGBUILD (from rev 472036, coreutils/repos/testing-x86_64/PKGBUILD) coreutils/repos/core-x86_64/keys/ Deleted: coreutils/repos/core-x86_64/PKGBUILD coreutils/repos/core-x86_64/keys/ coreutils/repos/testing-x86_64/ ----------------------+ /PKGBUILD | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ core-x86_64/PKGBUILD | 52 ----------------------------------------------- 2 files changed, 54 insertions(+), 52 deletions(-) Deleted: core-x86_64/PKGBUILD =================================================================== --- core-x86_64/PKGBUILD 2023-03-26 03:05:56 UTC (rev 472036) +++ core-x86_64/PKGBUILD 2023-03-26 03:08:23 UTC (rev 472037) @@ -1,52 +0,0 @@ -# Maintainer: Sébastien "Seblu" Luttringer -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Allan McRae <al...@archlinux.org> -# Contributor: judd <jvi...@zeroflux.org> - -pkgname=coreutils -pkgver=9.2 -pkgrel=1 -pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' -arch=('x86_64') -license=('GPL3') -url='https://www.gnu.org/software/coreutils/' -depends=('glibc' 'acl' 'attr' 'gmp' 'libcap' 'openssl') -source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) -validpgpkeys=('6C37DC12121A5006BC1DB804DF6FD971306037D9') # Pádraig Brady -sha256sums=('6885ff47b9cdb211de47d368c17853f406daaf98b148aaecdf10de29cc04b0b3' - 'SKIP') - -prepare() { - cd $pkgname-$pkgver - # apply patch from the source array (should be a pacman feature) - local filename - for filename in "${source[@]}"; do - if [[ "$filename" =~ \.patch$ ]]; then - echo "Applying patch ${filename##*/}" - patch -p1 -N -i "$srcdir/${filename##*/}" - fi - done - : -} - -build() { - cd $pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --with-openssl \ - --enable-no-install-program=groups,hostname,kill,uptime - make -} - -check() { - cd $pkgname-$pkgver - make check -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: Copied: coreutils/repos/core-x86_64/PKGBUILD (from rev 472036, coreutils/repos/testing-x86_64/PKGBUILD) =================================================================== --- core-x86_64/PKGBUILD (rev 0) +++ core-x86_64/PKGBUILD 2023-03-26 03:08:23 UTC (rev 472037) @@ -0,0 +1,54 @@ +# Maintainer: Sébastien "Seblu" Luttringer +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: judd <jvi...@zeroflux.org> + +pkgname=coreutils +pkgver=9.2 +pkgrel=2 +pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' +arch=('x86_64') +license=('GPL3') +url='https://www.gnu.org/software/coreutils/' +depends=('glibc' 'acl' 'attr' 'gmp' 'libcap' 'openssl') +source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig} + '01-FS#77969.patch::https://git.savannah.gnu.org/cgit/coreutils.git/patch/?id=76f2fb627118a26c25003dbd98c22c153b7ee1d2') +validpgpkeys=('6C37DC12121A5006BC1DB804DF6FD971306037D9') # Pádraig Brady +sha256sums=('6885ff47b9cdb211de47d368c17853f406daaf98b148aaecdf10de29cc04b0b3' + 'SKIP' + 'a3cc5d1548bd6a26e1b8f4cff076862243af9faaffc4c257a0c766457fd028cc') + +prepare() { + cd $pkgname-$pkgver + # apply patch from the source array (should be a pacman feature) + local src + for src in "${source[@]}"; do + src="${src%%::*}" + src="${src##*/}" + [[ $src = *.patch ]] || continue + echo "Applying patch $src..." + patch -Np1 < "../$src" + done +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --with-openssl \ + --enable-no-install-program=groups,hostname,kill,uptime + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: