aports/main/help2man/APKBUILD
2018-03-02 17:14:29 +01:00

34 lines
824 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=help2man
pkgver=1.47.6
pkgrel=0
pkgdesc="Create simple man pages from --help output"
url="https://www.gnu.org/software/help2man"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl"
makedepends=""
options="!check" # No test suite
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911b786b18b6931b2453cb60868ecbe07cc7d2984e5981a874b34942 help2man-1.47.6.tar.xz"