wordgrinder: make sure that include/zip.h won't appear in debfile

This commit is contained in:
Leonid Plyushch 2019-12-23 14:46:32 +02:00
parent 4c45524148
commit e083fee064
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 6 additions and 0 deletions

View File

@ -33,3 +33,9 @@ termux_step_make_install() {
mv -f $TERMUX_PREFIX/include/zip.h.bak $TERMUX_PREFIX/include/zip.h
fi
}
termux_step_post_massage() {
# zip.h may appear in deb after hiding/unhiding due to changed
# timestamp so it should be removed from package dir manually.
rm -f $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/zip.h
}