aboutsummaryrefslogtreecommitdiff
path: root/dwm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'dwm/PKGBUILD')
-rw-r--r--dwm/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/dwm/PKGBUILD b/dwm/PKGBUILD
new file mode 100644
index 0000000..7bc6c38
--- /dev/null
+++ b/dwm/PKGBUILD
@@ -0,0 +1,6 @@
+prepare () {
+ cd "$srcdir/$pkgname-$pkgver"
+ cp "$srcdir/config.h" config.h
+
+ find -L "$srcdir/patches" -name "*.diff" -type f -print0 | sort -z | xargs -t -0 -n 1 patch -p1 -i
+}