| 1 | # Contributor: Leo <[email protected]> |
| 2 | # Contributor: Celeste <[email protected]> |
| 3 | # Maintainer: omni <[email protected]> |
| 4 | maintainer="omni <[email protected]>" |
| 5 | pkgname=help2man |
| 6 | pkgver=1.49.3 |
| 7 | pkgrel=2 |
| 8 | pkgdesc="Create simple man pages from --help output" |
| 9 | url="https://www.gnu.org/software/help2man" |
| 10 | arch="noarch" |
| 11 | license="GPL-3.0-or-later" |
| 12 | depends="perl" |
| 13 | options="!check" # No test suite |
| 14 | subpackages="$pkgname-doc" |
| 15 | source="https://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.xz" |
| 16 | |
| 17 | build() { |
| 18 | ./configure \ |
| 19 | --build=$CBUILD \ |
| 20 | --host=$CHOST \ |
| 21 | --prefix=/usr \ |
| 22 | --sysconfdir=/etc \ |
| 23 | --mandir=/usr/share/man \ |
| 24 | --infodir=/usr/share/info \ |
| 25 | --localstatedir=/var |
| 26 | make |
| 27 | } |
| 28 | |
| 29 | package() { |
| 30 | make DESTDIR="$pkgdir" install |
| 31 | } |
| 32 | |
| 33 | sha512sums=" |
| 34 | 5f19fad1e38b0572b63ed8bfd146b717fc22dff3a26641e8b5c8431df13da9574679d9a3407da62790db8a29286694ea1bfd751cba168f475302ad31cce845cf help2man-1.49.3.tar.xz |
| 35 | " |