2024-01-31 01:17:44 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2024-02-03 16:48:48 +01:00
|
|
|
cp config.mk patches.h dwm-flexipatch/
|
2024-01-31 01:17:44 +01:00
|
|
|
flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o dwm-final
|
|
|
|
for patch in patches/*.diff; do
|
|
|
|
patch -d dwm-final <"$patch"
|
|
|
|
done
|
2024-02-03 16:48:48 +01:00
|
|
|
cp config.h dwm-final/
|
2024-01-31 01:17:44 +01:00
|
|
|
cd dwm-final || exit 1
|
|
|
|
make clean install DESTDIR="../pkg" PREFIX="/usr"
|
|
|
|
cd - || exit 1
|
|
|
|
|
2024-01-31 12:02:49 +01:00
|
|
|
# xbps-create -A x86_64 \
|
|
|
|
# -n "dwm-dev-1.0.0_1" \
|
|
|
|
# -s "Test build of dwm" \
|
|
|
|
# pkg
|