blob: 62d05a4ee98d63c7915e142873b14149b1cbc805 (
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
28
29
30
31
|
# 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
}
md5sums="71f4a1758f19759f8f7d20bd92d53fda txt2man-1.6.0.tar.gz
ef7f2806d60d1c987644e7f9f507da01 makefile.patch"
sha256sums="f6939e333a12e1ecceccaa547b58f4bf901a580cd2d8f822f8c292934c920c99 txt2man-1.6.0.tar.gz
e695ef0ffc8fa535f03cbc3993de618383e93d0c735feea2128c74463b85e083 makefile.patch"
sha512sums="7ec2cc0bb685d890cf06504d4faacf7a02c5a321963effb71ff63b7310f64f092e666c055c1dbdb699958a62272fe4dc0f31f3947ca6895aa425753a11b75379 txt2man-1.6.0.tar.gz
e91ad93ddd646b06cb75c26e666e5122934172d25513424f04b9f56ce9cd57f1327f9c53c3d59002d76765c272aced5d75e0b48318d3b82d447560c3a031ef58 makefile.patch"
|