aboutsummaryrefslogtreecommitdiffstats
path: root/main/txt2man/APKBUILD
blob: e183cfc3d0b613db4b3fae04b44a61f77a11cc90 (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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=txt2man
pkgver=1.6.0
pkgrel=0
pkgdesc="Convert flat ASCII text to man page format"
url="https://github.com/mvertes/txt2man"
arch="noarch"
license="GPL-2.0-or-later"
depends="gawk"
makedepends=
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mvertes/$pkgname/archive/$pkgname-$pkgver.tar.gz
	makefile.patch"

builddir="$srcdir/$pkgname-$pkgname-$pkgver"

package() {
	make -C "$builddir" \
		DESTDIR="$pkgdir" \
		prefix=/usr \
		mandir=/usr/share/man \
		install || return 1
}

sha512sums="7ec2cc0bb685d890cf06504d4faacf7a02c5a321963effb71ff63b7310f64f092e666c055c1dbdb699958a62272fe4dc0f31f3947ca6895aa425753a11b75379  txt2man-1.6.0.tar.gz
e91ad93ddd646b06cb75c26e666e5122934172d25513424f04b9f56ce9cd57f1327f9c53c3d59002d76765c272aced5d75e0b48318d3b82d447560c3a031ef58  makefile.patch"