<commit_before>DESCRIPTION = "Highly customizable checkboxes and radio buttons (jQuery & Zepto)"
SECTION = "console/network"
HOMEPAGE = "http://fronteed.com/iCheck"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"

DEPENDS = "virtual/libc"

SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"

FILES:${PN} += "${datadir}/javascript/jquery-icheck"

S = "${WORKDIR}/git"

do_install() {
        install -d ${D}${datadir}/javascript/jquery-icheck/
        install -m 0644 ${S}/icheck.js ${D}${datadir}/javascript/jquery-icheck/
        install -m 0644 ${S}/icheck.min.js ${D}${datadir}/javascript/jquery-icheck/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/
        install -m 0644 ${S}/skins/all.css ${D}${datadir}/javascript/jquery-icheck/skins/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/flat/
        install -m 0644 ${S}/skins/flat/* ${D}${datadir}/javascript/jquery-icheck/skins/flat/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/futurico/
        install -m 0644 ${S}/skins/futurico/* ${D}${datadir}/javascript/jquery-icheck/skins/futurico/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/line/
        install -m 0644 ${S}/skins/line/* ${D}${datadir}/javascript/jquery-icheck/skins/line/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/minimal/
        install -m 0644 ${S}/skins/minimal/* ${D}${datadir}/javascript/jquery-icheck/skins/minimal/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/polaris/
        install -m 0644 ${S}/skins/polaris/* ${D}${datadir}/javascript/jquery-icheck/skins/polaris/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/square/
        install -m 0644 ${S}/skins/square/* ${D}${datadir}/javascript/jquery-icheck/skins/square/
}
<commit_msg>libjs-jquery-icheck: Use hardcoded SHA for srcrev<commit_after>DESCRIPTION = "Highly customizable checkboxes and radio buttons (jQuery & Zepto)"
SECTION = "console/network"
HOMEPAGE = "http://fronteed.com/iCheck"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"

SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"

SRCREV = "c8c1af84e4b90b4aea31466aad09bf877619e943"

S = "${WORKDIR}/git"

do_install() {
        install -d ${D}${datadir}/javascript/jquery-icheck/
        install -m 0644 ${S}/icheck.js ${D}${datadir}/javascript/jquery-icheck/
        install -m 0644 ${S}/icheck.min.js ${D}${datadir}/javascript/jquery-icheck/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/
        install -m 0644 ${S}/skins/all.css ${D}${datadir}/javascript/jquery-icheck/skins/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/flat/
        install -m 0644 ${S}/skins/flat/* ${D}${datadir}/javascript/jquery-icheck/skins/flat/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/futurico/
        install -m 0644 ${S}/skins/futurico/* ${D}${datadir}/javascript/jquery-icheck/skins/futurico/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/line/
        install -m 0644 ${S}/skins/line/* ${D}${datadir}/javascript/jquery-icheck/skins/line/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/minimal/
        install -m 0644 ${S}/skins/minimal/* ${D}${datadir}/javascript/jquery-icheck/skins/minimal/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/polaris/
        install -m 0644 ${S}/skins/polaris/* ${D}${datadir}/javascript/jquery-icheck/skins/polaris/

        install -d ${D}${datadir}/javascript/jquery-icheck/skins/square/
        install -m 0644 ${S}/skins/square/* ${D}${datadir}/javascript/jquery-icheck/skins/square/
}

FILES:${PN} += "${datadir}/javascript/jquery-icheck"

{'fraction_non_alphanumeric': 0.18474619943313578, 'fraction_numerical': 0.03864983251739242, 'mean_word_length': 3.6714801444043323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '529091', 'n_tokens_mistral': 1561, 'n_tokens_neox': 1403, 'n_words': 195}