docbook-xml: fix zip files extraction.
--HG-- extra : convert_revision : 8c6f754461930946f72d0e369b94d64e3c7f60ef
This commit is contained in:
parent
79c9e862ba
commit
08f9e34068
1 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,9 @@ do_install()
|
|||
for ver in ${versions}; do
|
||||
dir=${DESTDIR}/usr/share/xml/docbook/${ver}
|
||||
install -d -m755 ${dir}
|
||||
cd ${dir} && \
|
||||
unzip ${XBPS_SRCDISTDIR}/docbook-xml-${ver}.zip && \
|
||||
mv catalog.xml catalog
|
||||
unzip -q -x ${XBPS_SRCDISTDIR}/docbook-xml-${ver}.zip \
|
||||
-d ${dir} && mv ${dir}/catalog.xml ${dir}/catalog \
|
||||
|| return 1
|
||||
done
|
||||
dir=${DESTDIR}/usr/share/xml/docbook/4.2
|
||||
sed -e 's|V4.2|V4.1.2|g' < ${dir}/catalog > ${dir}/catalog-4.1.2
|
||||
|
|
Loading…
Reference in a new issue