diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:03 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:03 +0200 |
commit | 56f955aca6231693fe797de4793f77ed58ab116e (patch) | |
tree | 17daeabce98174f288bab94b47961dc9e9931e66 /libre-testing/findutils | |
parent | 75ff40baa049bae7e9270d20ef86a88b733006ab (diff) | |
download | abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.gz abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.bz2 abslibre-56f955aca6231693fe797de4793f77ed58ab116e.zip |
Add some base packages for ppc64le
Diffstat (limited to 'libre-testing/findutils')
-rw-r--r-- | libre-testing/findutils/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre-testing/findutils/PKGBUILD b/libre-testing/findutils/PKGBUILD new file mode 100644 index 000000000..b58332a10 --- /dev/null +++ b/libre-testing/findutils/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: + +pkgname=findutils +pkgver=4.6.0 +pkgrel=2 +pkgdesc="GNU utilities to locate files" +arch=(x86_64 ppc64le) +license=('GPL3') +groups=('base' 'base-devel') +depends=('glibc' 'sh') +url='https://www.gnu.org/software/findutils/' +source=("https://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.gz") +sha1sums=('f18e8aaee3f3d4173a1f598001003be8706d28b0') +#validpgpkeys=('A15B725964A95EE5') # James Youngman <james@youngman.org> + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Don't build or install locate because we use mlocate, + # which is a secure version of locate. + sed -i '/^SUBDIRS/s/locate//' Makefile.in + + ./configure --prefix=/usr + # don't build locate, but the docs want a file in there. + make -C locate dblocation.texi + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=$pkgdir install +} |