mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-14 10:58:05 +01:00
12 lines
236 B
Bash
12 lines
236 B
Bash
|
# hook to remove misc files.
|
||
|
hook() {
|
||
|
case "$XBPS_TARGET_MACHINE" in
|
||
|
*-musl) ;;
|
||
|
*) return 0;;
|
||
|
esac
|
||
|
# Remove charset.alias on musl
|
||
|
if [ -f $PKGDESTDIR/usr/lib/charset.alias ]; then
|
||
|
rm -f $PKGDESTDIR/usr/lib/charset.alias
|
||
|
fi
|
||
|
}
|