Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/netplan
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /extra/netplan
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'extra/netplan')
-rw-r--r--extra/netplan/PKGBUILD13
-rw-r--r--extra/netplan/netplan-0.102-no-pandoc.patch22
2 files changed, 35 insertions, 0 deletions
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