- local filename
- filename=$(basename "$TERMUX_PKG_PATCHURL")
- local file="$TERMUX_PKG_CACHEDIR/$filename"
- termux_download "$TERMUX_PKG_PATCHURL" "$file" "$TERMUX_PKG_PATCHSHA256"
- gunzip -c $file | patch -s -p1
+ # requires installing autopoint default docker image doesn't have that installed as yet.
+ # adding huge patchsets to termux-packages repo is not optimal so we do it this way for now.
+ local file="$TERMUX_PKG_CACHEDIR/maildir.patch.gz"
+ termux_download \
+ http://alpine.freeiz.com/alpine/patches/alpine-${TERMUX_PKG_VERSION}/maildir.patch.gz \
+ "$file" \
+ 1229ea9ec4e150dda1d2da866730a777148874e4667c54cd2c488101b5db8099
+ gunzip -c $file | patch -s -p1