APKBUILD 675 Bytes
Newer Older
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
1
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
3 4
pkgname=acct
pkgver=6.3.2
5
pkgrel=1
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
6 7 8
pkgdesc="The GNU Accounting Utilities"
url="http://www.gnu.org/software/acct/"
license="GPL"
9 10
depends=
makedepends=
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
11
install=
Natanael Copa's avatar
Natanael Copa committed
12
subpackages="$pkgname-doc"
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
13 14 15 16 17
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"

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

Natanael Copa's avatar
Natanael Copa committed
18 19 20 21 22
	# seems like this makefile does not respect DESTDIR
	./configure --prefix=/usr \
		--mandir="$pkgdir"/usr/share/man \
		--infodir="$pkgdir"/usr/share/info

Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
23 24 25 26 27
	make || return 1
	make prefix="$pkgdir/usr" install
}

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