aboutsummaryrefslogtreecommitdiff
path: root/repo/.hook/wxgtk-dev
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-27 04:06:02 +0800
committerKunoiSayami <[email protected]>2022-10-27 04:09:27 +0800
commit4074afc97ca9feac6990f39cebb384135a752238 (patch)
treed9c883062a7dd20a3542cd4e9c89599845ac1da1 /repo/.hook/wxgtk-dev
parent56775d7e6a004630b514f2f7d745312e0266e161 (diff)
fix(pkg): Fix trustedqsl build
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo/.hook/wxgtk-dev')
-rwxr-xr-xrepo/.hook/wxgtk-dev4
1 files changed, 4 insertions, 0 deletions
diff --git a/repo/.hook/wxgtk-dev b/repo/.hook/wxgtk-dev
new file mode 100755
index 0000000..8e531c2
--- /dev/null
+++ b/repo/.hook/wxgtk-dev
@@ -0,0 +1,4 @@
+#!/bin/bash
+sed -i 's/make$/make -j \$\(nproc\)\n/g' PKGBUILD
+sed -i 's/make DESTDIR/make -j \$\(nproc\) DESTDIR/g' PKGBUILD
+sed -i 's/make -C/make -j \$\(nproc\) -C/g' PKGBUILD