#!/usr/bin/env beesh

# BEE_VERSION docbook-xsl-1.79.2-0

# more info: https://docbook.org
# http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html

SRCURL[0]="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${PKGVERSION}/docbook-xsl-nons-${PKGVERSION}.tar.bz2"

PATCHURL+=(/src/mariux/md5repo/f77800752a4815cbcf138a3578032628/765567_non-recursive_string_subst.patch)

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
#    echo bee_extract "${@}"
#}

#mee_patch() {
#    bee_patch "${@}"
#}

mee_configure() {
    :
}

mee_build() {
    :
}

mee_install() {

install -vdm755 ${D}/usr/share/xml/docbook/xsl-stylesheets-nons-${PKGVERSION}

cp -v -R VERSION assembly common eclipse epub epub3 extensions fo        \
         highlighting html htmlhelp images javahelp lib manpages params  \
         profiling roundtrip slides template tests tools webhelp website \
         xhtml xhtml-1_1 xhtml5                                          \
    ${D}/usr/share/xml/docbook/xsl-stylesheets-nons-${PKGVERSION}

ln -s VERSION ${D}/usr/share/xml/docbook/xsl-stylesheets-nons-${PKGVERSION}/VERSION.xsl

}

#mee_install_post() {
#    exit
#}