mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-29 17:42:40 +02:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=help2man
|
|
pkgver=1.47.3
|
|
pkgrel=0
|
|
pkgdesc="Create simple man pages from --help output"
|
|
url="http://www.gnu.org/software/help2man"
|
|
arch="noarch"
|
|
license="GPLv3+"
|
|
depends="perl"
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="ftp://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.xz"
|
|
|
|
_builddir="$srcdir"/help2man-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="d1d44a7a7b2bd61755a2045d96ecaea0 help2man-1.47.3.tar.xz"
|
|
sha256sums="c232af6475ef65bee02770862a362f4c4c2e6c9967d39e987eb94cadcfc13856 help2man-1.47.3.tar.xz"
|
|
sha512sums="c6c41e6492f7a84a3c8c45473f4fa797d243a10b56bbba6029aec5b84a7b5f5054fb55211f5057a5cade7f7d666f5445c528eb6d519b862fe01d0adc64257501 help2man-1.47.3.tar.xz"
|