mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
832 B
Bash
25 lines
832 B
Bash
# 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=('arm')
|
|
url="http://www.gnu.org/software/acct/"
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
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}
|
|
}
|