void-packages/templates/shared-mime-info-runstuff-before-build.sh
Juan RP 259900136c Added shared-mime-info-0.51 template and its related helper.
--HG--
extra : convert_revision : 16763dc3fcd2361fef5ba0560c57a46b45333677
2008-10-10 19:14:25 +02:00

5 lines
254 B
Bash
Executable file

# Replace hardcoded paths in XDG_DATA_DIRS.
$sed_cmd -e "s|/usr/local/share|$PKGFS_MASTERDIR/share|g" \
$wrksrc/update-mime-database.c > $wrksrc/update-mime-database.c.in && \
$mv_cmd -f $wrksrc/update-mime-database.c.in $wrksrc/update-mime-database.c