summaryrefslogtreecommitdiff
path: root/opt/mandoc/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'opt/mandoc/MAKEPKG')
-rw-r--r--opt/mandoc/MAKEPKG35
1 files changed, 35 insertions, 0 deletions
diff --git a/opt/mandoc/MAKEPKG b/opt/mandoc/MAKEPKG
new file mode 100644
index 0000000..6095f82
--- /dev/null
+++ b/opt/mandoc/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: UNIX manpage compiler and viewer
+# url: https://mandoc.bsd.lv/
+
+name=mandoc
+version=1.14.6
+release=1
+depends=(zlib)
+source=(https://mandoc.bsd.lv/snapshots/mandoc-$version.tar.gz)
+sha256sums=(
+ "8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c"
+)
+
+build() {
+ cd $name-$version
+
+ cat > configure.local << EOF
+PREFIX=/usr
+MANDIR=/usr/share/man
+SBINDIR=/usr/bin
+UTF8_LOCALE=en_US.UTF-8
+CFLAGS="$CFLAGS"
+EOF
+
+ ./configure
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh