librsync: there are no library symlinks in current package

So no need to remove them.
This commit is contained in:
Henrik Grimler 2021-11-17 20:21:03 +01:00
parent 0396f55b6b
commit 10d7716d44
No known key found for this signature in database
GPG Key ID: B0076E490B71616B

View File

@ -12,17 +12,6 @@ TERMUX_PKG_BREAKS="librsync-dev"
TERMUX_PKG_REPLACES="librsync-dev" TERMUX_PKG_REPLACES="librsync-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DPERL_EXECUTABLE=$(which perl)" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DPERL_EXECUTABLE=$(which perl)"
termux_step_pre_configure() {
# Certain packages are not safe to build on device because their
# build.sh script deletes specific files in $TERMUX_PREFIX.
if $TERMUX_ON_DEVICE_BUILD; then
termux_error_exit "Package '$TERMUX_PKG_NAME' is not safe for on-device builds."
fi
# Remove old files to ensure new timestamps on symlinks:
rm -Rf $TERMUX_PREFIX/lib/librsync.*
}
termux_step_post_configure() { termux_step_post_configure() {
mkdir -p $TERMUX_PREFIX/share/man/man{1,3} mkdir -p $TERMUX_PREFIX/share/man/man{1,3}
cp $TERMUX_PKG_SRCDIR/doc/rdiff.1 $TERMUX_PREFIX/share/man/man1 cp $TERMUX_PKG_SRCDIR/doc/rdiff.1 $TERMUX_PREFIX/share/man/man1