blob: b372d1badc22f3ae8d382d6de5ed2f48af30b484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: SpepS <dreamspepser at yahoo dot it>
# Contributor: damir <damir@archlinux.org>
# Contributor: phrakture
pkgname=acct
pkgver=6.5.5
pkgrel=1
pkgdesc="The GNU Accounting Utilities provide login and process accounting utilities for GNU/Linux and other systems."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/acct/"
license=('GPL')
depends=('glibc')
install="$pkgname.install"
source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('554a9e9c6aa3482df07e80853eac0350')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
rm $pkgdir/usr/share/info/dir
gzip $pkgdir/usr/share/info/*
# Renaming last
mv "$pkgdir/usr/bin/last" "$pkgdir/usr/bin/last-acct"
mv "$pkgdir/usr/share/man/man1/last.1" "$pkgdir/usr/share/man/man1/last-acct.1"
}
|