[utf8h] Update to latest commit (#12218)

This library doesn't provide official releases, therefore I'm using the latest commit.
This commit is contained in:
Rémy Tassoux 2020-07-06 21:53:06 +02:00 committed by GitHub
parent 7c5e2356f1
commit b65decc9f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,4 @@
Source: utf8h Source: utf8h
Version: 841cb2deb8eb806e73fff0e1f43a11fca4f5da45 Version: 2020-06-14
Homepage: https://github.com/sheredom/utf8.h
Description: Single header utf8 string functions for C and C++ Description: Single header utf8 string functions for C and C++

View File

@ -1,15 +1,11 @@
include(vcpkg_common_functions)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO sheredom/utf8.h REPO sheredom/utf8.h
REF 841cb2deb8eb806e73fff0e1f43a11fca4f5da45 REF 817789676b1c3ac9b117a0f9e04378d3e33a79be
SHA512 cce44011abc58556c031c0de1018b83225bdbbc0e8d7374e3fd6f0b63c8e200086c49e7caac61b559f1e6d5a7ad349a58a13876a1b1341c18349a5cee59a105b SHA512 3e8455cbc03fa02b1f6f87832c89104510012e8dda968fd56ad5661ffb1c40498e59ea7b65f41f551233f28ee526974086efad3dd767bf944844a3ffede04e1d
HEAD_REF master HEAD_REF master
) )
# Copy the utf8h header files
file(COPY ${SOURCE_PATH}/utf8.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/utf8h) file(COPY ${SOURCE_PATH}/utf8.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/utf8h)
# Handle copyright file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/utf8h RENAME copyright)