mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
a46e3e9357
[skip ci]
16 lines
470 B
Bash
16 lines
470 B
Bash
termux_step_extract_into_massagedir() {
|
|
local TARBALL_ORIG=$TERMUX_PKG_PACKAGEDIR/${TERMUX_PKG_NAME}_orig.tar.gz
|
|
|
|
# Build diff tar with what has changed during the build:
|
|
cd $TERMUX_PREFIX_CLASSICAL
|
|
tar -N "$TERMUX_BUILD_TS_FILE" \
|
|
--exclude='tmp' \
|
|
-czf "$TARBALL_ORIG" .
|
|
|
|
# Extract tar in order to massage it
|
|
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"
|
|
cd "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX_CLASSICAL"
|
|
tar xf "$TARBALL_ORIG"
|
|
rm "$TARBALL_ORIG"
|
|
}
|