summaryrefslogtreecommitdiff
path: root/extra/acct/APKBUILD
blob: 29657feed9e74ff2221de7e64cc5d9c96dfa86b6 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acct
pkgver=6.3.2
pkgrel=1
pkgdesc="The GNU Accounting Utilities"
url="http://www.gnu.org/software/acct/"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	# seems like this makefile does not respect DESTDIR
	./configure --prefix=/usr \
		--mandir="$pkgdir"/usr/share/man \
		--infodir="$pkgdir"/usr/share/info

	make || return 1
	make prefix="$pkgdir/usr" install
}

md5sums="da0055b254f7da8b8920db83ef1ebba1  acct-6.3.2.tar.gz"