From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/netplan/PKGBUILD | 13 +++++++++++++ extra/netplan/netplan-0.102-no-pandoc.patch | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 extra/netplan/PKGBUILD create mode 100644 extra/netplan/netplan-0.102-no-pandoc.patch (limited to 'extra/netplan') diff --git a/extra/netplan/PKGBUILD b/extra/netplan/PKGBUILD new file mode 100644 index 00000000..3bd27377 --- /dev/null +++ b/extra/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/extra/netplan/netplan-0.102-no-pandoc.patch b/extra/netplan/netplan-0.102-no-pandoc.patch new file mode 100644 index 00000000..a1ed598d --- /dev/null +++ b/extra/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 -- cgit v1.2.3-70-g09d2