#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=coreutils pkgver=9.3 pkgrel=01 pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' 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' # 'copy-fix-reflink-auto-fallback.patch' # 'gnulib-backupfile-62607.patch' # 'coreutils-backup-62607.patch') 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('GPL3') validpgpkeys=('6C37DC12121A5006BC1DB804DF6FD971306037D9') # Pádraig Brady sha256sums=(adbcfcfe899235b71e8768dcf07cd532520b7f54f9a8064843f8d199a904bbaa # coreutils-9.3.tar.xz ba1c3836fd981e582739ebd55765b3616d23e653a20a95642f5a72b3dbd45ea7) # coreutils-9.3.tar.xz.sig # a3cc5d1548bd6a26e1b8f4cff076862243af9faaffc4c257a0c766457fd028cc # 01-FS#77969.patch # 4b2ac873a9cb4a825bb90e964383ca0cb956ece347e9ded5387ddd8ff293855b # copy-fix-reflink-auto-fallback.patch # 5455ce8f736d5d8f5c7a5c8b70b4ec46a7e050125924f2135af4fbf685bddda6 # gnulib-backupfile-62607.patch # 10a8ea0b14c5254775c3817a31a07928c0609ca3eaec78fcecddeefe95101b9d) # coreutils-backup-62607.patch # ## 5f1fa71b3f9e3e17a2b049c6c102ae36e02cfa8328e4f60e55a3924287c1b89d coreutils-9.3-01-x86_64.pkg.tar.lz