mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
24 lines
913 B
Bash
24 lines
913 B
Bash
# $Id: PKGBUILD 37559 2009-05-03 00:43:02Z eric $
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
|
|
pkgname=time
|
|
pkgver=1.7
|
|
pkgrel=2
|
|
pkgdesc="The 'time' command runs another program, then displays information about the resources used by that program, collected by the system while the program was running."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/time/time.html"
|
|
license=('GPL')
|
|
depends=('glibc' 'texinfo')
|
|
install=time.install
|
|
source=(http://ftp.gnu.org/pub/gnu/time/time-$pkgver.tar.gz)
|
|
md5sums=('e38d2b8b34b1ca259cf7b053caac32b3')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --infodir=/usr/share/info || return 1
|
|
make || return 1
|
|
make exec_prefix=$pkgdir/usr infodir=$pkgdir/usr/share/info install || return 1
|
|
gzip $pkgdir/usr/share/info/time.info
|
|
ln -sf /usr/bin/time $pkgdir/usr/bin/gnutime || return 1
|
|
ln -sf time.info.gz $pkgdir/usr/share/info/gnutime.info.gz
|
|
}
|