diff options
Diffstat (limited to 'extra/time/PKGBUILD')
-rw-r--r-- | extra/time/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/time/PKGBUILD b/extra/time/PKGBUILD new file mode 100644 index 000000000..78d5a7d61 --- /dev/null +++ b/extra/time/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 109750 2011-02-12 13:42:27Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.us> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: damir <damir@archlinux.org> + +pkgname=time +pkgver=1.7 +pkgrel=4 +pkgdesc="Utility for monitoring a program's use of system resources" +arch=('i686' 'x86_64') +url="http://www.gnu.org/directory/time.html" +license=('GPL') +depends=('glibc') +install=time.install +source=(http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('e38d2b8b34b1ca259cf7b053caac32b3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --infodir=/usr/share/info + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make exec_prefix="${pkgdir}/usr" infodir="${pkgdir}/usr/share/info" install +} |