summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/hook examples/tdelibs/pre_build.sh
blob: 35bfc3c1b311639b36c8e41d7599dfe97a6ac83e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

CURR_DIR=$PWD
cd "$PKG_BUILD_PATH"

# Apply patches
if [ "$bool_COPY_PKG_SRC" = "y" ]; then
  echo -e "${CLightPurple}Applying kfinddialog placeholder patch${CNone}"
  patch -p2 < "$HOOK_DIR/$PKG_NAME/038_placeholder.diff"
fi

cd "$CURR_DIR"
return 0