PKGBUILDs/extra/acct/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
916 B
Bash

# $Id: PKGBUILD 31369 2009-03-26 05:11:36Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: phrakture
pkgname=acct
pkgver=6.3.2
pkgrel=2
pkgdesc="A set of utilities which reports and summarizes data about user connect times and process execution statistics"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/acct/"
license=('GPL')
depends=('glibc')
install=acct.install
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('da0055b254f7da8b8920db83ef1ebba1')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1
make || return 1
make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man infodir=$pkgdir/usr/share/info install || return 1
rm $pkgdir/usr/share/info/dir
gzip $pkgdir/usr/share/info/*
# sysvinit already provides "last":
rm $pkgdir/usr/{bin/last,share/man/man1/last.1}
}