Date: Saturday, May 16, 2020 @ 18:32:19 Author: felixonmars Revision: 384796
archrelease: copy trunk to staging-x86_64 Added: time/repos/staging-x86_64/ time/repos/staging-x86_64/PKGBUILD (from rev 384795, time/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: time/repos/staging-x86_64/PKGBUILD (from rev 384795, time/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-05-16 18:32:19 UTC (rev 384796) @@ -0,0 +1,41 @@ +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.us> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: damir <da...@archlinux.org> + +pkgname=time +pkgver=1.9 +pkgrel=3 +pkgdesc="Utility for monitoring a program's use of system resources" +arch=('x86_64') +url='https://www.gnu.org/software/time/' +license=('GPL') +depends=('glibc') +makedepends=('git') +source=(https://git.savannah.gnu.org/cgit/time.git/snapshot/time-$pkgver.tar.gz + git://git.savannah.gnu.org/gnulib.git#commit=9462eb64fbf6646e9109b003a6768538d2b7dad4) +sha1sums=('724d5857f555261c847d80f2783ca41891879c86' + 'SKIP') + +prepare() { + cd "$pkgname-$pkgver" + + ./bootstrap --no-git --gnulib-srcdir="$srcdir/gnulib" +} + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr --infodir=/usr/share/info + make +} + +check() { + make -C "$pkgname-$pkgver" check +} + +package() { + cd "$pkgname-$pkgver" + + make exec_prefix="$pkgdir/usr" infodir="$pkgdir/usr/share/info" install +}