summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/hook_examples/tdebase/pre_build.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-07-11 23:38:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-07-11 23:38:32 +0900
commiteeaccbeddbaa2974406eb20cbb7beca3fb4a59f0 (patch)
tree510e0eea682ebf69263b187287873956394b5e7b /debian/_buildscripts/local/hook_examples/tdebase/pre_build.sh
parent02dbbffa606c3c52833bbaf3dc5c5a050f295dbf (diff)
downloadtde-packaging-eeaccbeddbaa2974406eb20cbb7beca3fb4a59f0.tar.gz
tde-packaging-eeaccbeddbaa2974406eb20cbb7beca3fb4a59f0.zip
DEB build scripts: several enhancements as follow:
- major rework of update_repositories.sh script, which now supports multiple branches and provide better feedback to user. - added support for pre-built extra dependency packages. A user can now use Slavek Banko's binary packages instead of building the extra dependency locally. This removes a quite tedious process during the setup of the building environment. - bug fixes and more user friendly folder names. - improved README to cover the complete process until TDE installation. Special thanks to Gregory Guy <zadig83@laposte.net> for testing and feedback done so far. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/hook_examples/tdebase/pre_build.sh')
-rwxr-xr-xdebian/_buildscripts/local/hook_examples/tdebase/pre_build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/hook_examples/tdebase/pre_build.sh b/debian/_buildscripts/local/hook_examples/tdebase/pre_build.sh
new file mode 100755
index 000000000..e764c29ad
--- /dev/null
+++ b/debian/_buildscripts/local/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