From b65decc9f7d40d1ffef6b45facdb18157c034c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Tassoux?= Date: Mon, 6 Jul 2020 21:53:06 +0200 Subject: [utf8h] Update to latest commit (#12218) This library doesn't provide official releases, therefore I'm using the latest commit. --- ports/utf8h/CONTROL | 3 ++- ports/utf8h/portfile.cmake | 10 +++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/ports/utf8h/CONTROL b/ports/utf8h/CONTROL index 5f1acf4c0..31b21a88f 100644 --- a/ports/utf8h/CONTROL +++ b/ports/utf8h/CONTROL @@ -1,3 +1,4 @@ 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++ diff --git a/ports/utf8h/portfile.cmake b/ports/utf8h/portfile.cmake index 11b35c21a..e8167fe46 100644 --- a/ports/utf8h/portfile.cmake +++ b/ports/utf8h/portfile.cmake @@ -1,15 +1,11 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO sheredom/utf8.h - REF 841cb2deb8eb806e73fff0e1f43a11fca4f5da45 - SHA512 cce44011abc58556c031c0de1018b83225bdbbc0e8d7374e3fd6f0b63c8e200086c49e7caac61b559f1e6d5a7ad349a58a13876a1b1341c18349a5cee59a105b + REF 817789676b1c3ac9b117a0f9e04378d3e33a79be + SHA512 3e8455cbc03fa02b1f6f87832c89104510012e8dda968fd56ad5661ffb1c40498e59ea7b65f41f551233f28ee526974086efad3dd767bf944844a3ffede04e1d HEAD_REF master ) -# Copy the utf8h header files file(COPY ${SOURCE_PATH}/utf8.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/utf8h) -# Handle copyright -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/utf8h RENAME copyright) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -- cgit v1.2.3