aboutsummaryrefslogtreecommitdiff
path: root/repo/.hook
diff options
context:
space:
mode:
Diffstat (limited to 'repo/.hook')
-rwxr-xr-xrepo/.hook/ffmpeg-cuda3
1 files changed, 3 insertions, 0 deletions
diff --git a/repo/.hook/ffmpeg-cuda b/repo/.hook/ffmpeg-cuda
new file mode 100755
index 0000000..6871a1d
--- /dev/null
+++ b/repo/.hook/ffmpeg-cuda
@@ -0,0 +1,3 @@
+#!/bin/bash
+sed -i 's/make$/make -j \$\(nproc\)\n/g' PKGBUILD
+sed -i 's/make /make -j \$\(nproc\) /g' PKGBUILD \ No newline at end of file