aboutsummaryrefslogtreecommitdiff
path: root/repo/.hook
diff options
context:
space:
mode:
authorKunoi Sayami <[email protected]>2021-11-02 00:31:27 +0800
committerGitHub <[email protected]>2021-11-02 00:31:27 +0800
commitfbcb4352c57d0ee9e4cccabbf62a1c215590be63 (patch)
tree218efbd09b043ad18100b7bff151b7c460a7c96b /repo/.hook
parent9a3255c44047fcea27f6922639585aa5ddae32e6 (diff)
feat(add-pkg): Add glib2-static and qemu-user-static (#12)
* feat(script): Support detect repository external file change Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo/.hook')
-rw-r--r--repo/.hook/glib2-static4
1 files changed, 4 insertions, 0 deletions
diff --git a/repo/.hook/glib2-static b/repo/.hook/glib2-static
new file mode 100644
index 0000000..7c9629f
--- /dev/null
+++ b/repo/.hook/glib2-static
@@ -0,0 +1,4 @@
+#!/bin/bash
+[ ! -r /var/lib/dbus/machine-id ] && dbus-uuidgen | sudo tee /var/lib/dbus/machine-id
+sed -i 's/e \\/e/g' PKGBUILD
+sed -i 's/-Dinternal_pcre=false//g' PKGBUILD \ No newline at end of file