jobcore/coreutils/PKGBUILD

61 lines
1.6 KiB
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
2022-04-18 03:56:45 +02:00
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=coreutils
2024-03-29 14:28:38 +01:00
pkgver=9.5
pkgrel=01
2022-03-20 13:19:37 +01:00
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')
2024-03-29 14:28:38 +01:00
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
2022-04-18 03:56:45 +02:00
2022-03-20 13:19:37 +01:00
prepare() {
cd $pkgname-$pkgver
# apply patch from the source array (should be a pacman feature)
2024-03-29 14:28:38 +01:00
# local src
# for src in "${source[@]}"; do
# src="${src%%::*}"
# src="${src##*/}"
# [[ $src = *.patch ]] || continue
# echo "Applying patch $src..."
# patch -Np1 < "../$src"
# done
2022-03-20 13:19:37 +01:00
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--with-openssl \
--enable-no-install-program=groups,hostname,kill,uptime
make
}
2024-03-29 14:28:38 +01:00
check() {
cd $pkgname-$pkgver
make check
}
2022-03-20 13:19:37 +01:00
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
2023-03-22 13:33:45 +01:00
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:19:37 +01:00
license=('GPL-3.0-or-later' 'GFDL-1.3-or-later')
2022-03-20 13:19:37 +01:00
validpgpkeys=('6C37DC12121A5006BC1DB804DF6FD971306037D9') # Pádraig Brady
2024-03-29 14:28:38 +01:00
sha256sums=(cd328edeac92f6a665de9f323c93b712af1858bc2e0d88f3f7100469470a1b8a # coreutils-9.5.tar.xz
b2843cd7c5972c7bc4d01fc34eb82e5a3ec84a199363288e3999304e3dddc805) # coreutils-9.5.tar.xz.sig