summaryrefslogtreecommitdiffstats
path: root/main/groff/APKBUILD
blob: aca8b4803d54be8b85fe71591005a40b15eed6fc (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=groff
pkgver=1.22.2
pkgrel=0
pkgdesc="GNU troff text-formatting system"
url="http://www.gnu.org/software/groff/groff.html"
arch="all"
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="9f4cd592a5efc7e36481d8d8d8af6d16  groff-1.22.2.tar.gz"
sha256sums="380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a13d2076  groff-1.22.2.tar.gz"
sha512sums="ea34db53f075b6816827b07ac3d6a19ed50529c939044337eb3124575ac3b41363e1d81bbd5bf552a7a10f6b1dd233d6e7acaf646e18cfe94464c59dc20ffe80  groff-1.22.2.tar.gz"