summaryrefslogtreecommitdiff
path: root/community/netplan
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-03 12:30:16 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-03 12:30:16 +0100
commit1aed46cf2be335e618bc3c07e2b83b9ac3b6dfb3 (patch)
treeef10c62dd0e55cfbaf5d63653d8a1d6df5c31bd6 /community/netplan
parent4406e5cd64e95a49bf0133734b317b4abf1554e9 (diff)
downloadpackages-1aed46cf2be335e618bc3c07e2b83b9ac3b6dfb3.tar.xz
community/netplan: patched for missing pandoc
Diffstat (limited to 'community/netplan')
-rw-r--r--community/netplan/PKGBUILD13
-rw-r--r--community/netplan/netplan-0.102-no-pandoc.patch22
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