diff options
-rw-r--r-- | community/netplan/PKGBUILD | 13 | ||||
-rw-r--r-- | community/netplan/netplan-0.102-no-pandoc.patch | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/community/netplan/PKGBUILD b/community/netplan/PKGBUILD new file mode 100644 index 00000000..3bd27377 --- /dev/null +++ b/community/netplan/PKGBUILD @@ -0,0 +1,13 @@ +# currently Haskell is broken +makedepends=(${makedepends[@]//pandoc/}) +source+=('netplan-0.102-no-pandoc.patch') +sha256sums+=('0ab919601e4a30585f0e3e3dc224fd598d2183e2df9250c1e6e4bc894d0ace95') +eval "$( + { + declare -f prepare || \ + printf 'prepare() { cd "${pkgname}-${pkgver}"\n}\n' + } \ + | sed ' + $i patch -Np1 -i "$srcdir/netplan-0.102-no-pandoc.patch" + ' +)" diff --git a/community/netplan/netplan-0.102-no-pandoc.patch b/community/netplan/netplan-0.102-no-pandoc.patch new file mode 100644 index 00000000..a1ed598d --- /dev/null +++ b/community/netplan/netplan-0.102-no-pandoc.patch @@ -0,0 +1,22 @@ +diff -rauN netplan-0.102/Makefile netplan-0.102-no-pandoc-patch/Makefile +--- netplan-0.102/Makefile 2022-02-03 12:21:36.988275585 +0100 ++++ netplan-0.102-no-pandoc-patch/Makefile 2022-02-03 12:23:01.654960528 +0100 +@@ -133,12 +133,15 @@ + + + %.html: %.md +- pandoc -s --toc -o $@ $< ++# pandoc -s --toc -o $@ $< ++ echo "no pandoc" > $@ + + doc/netplan.5: doc/manpage-header.md doc/netplan.md doc/manpage-footer.md +- pandoc -s -o $@ $^ ++# pandoc -s -o $@ $^ ++ echo "no pandoc" > $@ + + %.8: %.md +- pandoc -s -o $@ $^ ++# pandoc -s -o $@ $^ ++ echo "no pandoc" > $@ + + .PHONY: clean |