summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-01-05 18:08:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-05-28 14:46:58 +0900
commit1da1d03f8d107bff644797131bc997476d22ecc1 (patch)
tree9fc888e0cb05603dd4ed233a675a67cf4bc575ff /debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh
parent204867aa831b7de0c1faf4321c9767c868d2d577 (diff)
downloadtde-packaging-1da1d03f8d107bff644797131bc997476d22ecc1.tar.gz
tde-packaging-1da1d03f8d107bff644797131bc997476d22ecc1.zip
DEB build script: first commit, still work in progress although
functional. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh')
-rwxr-xr-xdebian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh b/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh
new file mode 100755
index 000000000..e764c29ad
--- /dev/null
+++ b/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+CURR_DIR=$PWD
+cd "$PKG_BUILD_PATH"
+
+# Apply patches
+if [ "$bool_COPY_PKG_SRC" = "y" ]; then
+ echo -e "${CLightPurple}Applying Kate save all patch${CNone}"
+ patch -p2 < "$HOOK_DIR/$PKG_NAME/018_kate_save_all.diff"
+
+ echo -e "${CLightPurple}Applying SAK patch${CNone}"
+ patch -p1 < "$HOOK_DIR/$PKG_NAME/tdebase-usesak.diff"
+fi
+
+cd "$CURR_DIR"
+return 0