summaryrefslogtreecommitdiffstats
path: root/main/groff/APKBUILD
blob: 2d0f08d2d6b591fd518eadc110fa3c6a7d00f584 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=groff
pkgver=1.20.1
pkgrel=2
pkgdesc="GNU troff text-formatting system"
url="http://www.gnu.org/software/groff/groff.html"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="perl texinfo"
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

build () {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr --without-x
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}
md5sums="48fa768dd6fdeb7968041dd5ae8e2b02  groff-1.20.1.tar.gz"