c06defc719
If there's a file called "$pkgname.{pre,post}_{configure,build,install} it will be automatically executed. In addition to this, templates may use {pre,post}_{configure,build,install}_cmd variables to run arbitrary commands. --HG-- extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7
5 lines
253 B
Text
5 lines
253 B
Text
# Replace hardcoded paths in XDG_DATA_DIRS.
|
|
|
|
$sed_cmd -e "s|/usr/local/share|$XBPS_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
|