updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / acct / PKGBUILD
blobb0707146e36891875d97dccc69e7dd3dc46c0e10
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: phrakture
5 pkgname=acct
6 pkgver=6.5.5
7 pkgrel=1
8 pkgdesc="The GNU Accounting Utilities provide login and process accounting utilities for GNU/Linux and other systems."
9 arch=('i686' 'x86_64')
10 url="http://www.gnu.org/software/acct/"
11 license=('GPL')
12 depends=('glibc')
13 install="$pkgname.install"
14 source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
15 md5sums=('554a9e9c6aa3482df07e80853eac0350')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   ./configure --prefix=/usr
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir/" install
30   # Renaming last
31   mv "$pkgdir/usr/bin/last" "$pkgdir/usr/bin/last-acct"
32   mv "$pkgdir/usr/share/man/man1/last.1" "$pkgdir/usr/share/man/man1/last-acct.1"