summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 17:55:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 17:55:56 -0500
commit18227314072ecf030e545f208605369ddba6f0f9 (patch)
tree5fb186f5686e1862bead58e28fb62cf20d50cc9a /system
parent5ff582a331131c9e273d3c9ab8c6c1803e8d18b6 (diff)
downloadpackages-18227314072ecf030e545f208605369ddba6f0f9.tar.gz
packages-18227314072ecf030e545f208605369ddba6f0f9.tar.bz2
packages-18227314072ecf030e545f208605369ddba6f0f9.tar.xz
packages-18227314072ecf030e545f208605369ddba6f0f9.zip
system/help2man: pull in for flex, fix up
Diffstat (limited to 'system')
-rw-r--r--system/help2man/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/help2man/APKBUILD b/system/help2man/APKBUILD
new file mode 100644
index 000000000..4e137d42f
--- /dev/null
+++ b/system/help2man/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=help2man
+pkgver=1.47.6
+pkgrel=1
+pkgdesc="Create simple man pages from --help output"
+url="https://www.gnu.org/software/help2man"
+arch="noarch"
+options="!check" # No test suite
+license="GPL-3.0+"
+depends="perl"
+makedepends="gettext-tiny"
+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"