aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Tassoux <contact@rt2.fr>2020-07-06 21:53:06 +0200
committerGitHub <noreply@github.com>2020-07-06 12:53:06 -0700
commitb65decc9f7d40d1ffef6b45facdb18157c034c09 (patch)
treece5a11797cd7ad58215672b9dbb31b2f9912e21c
parent7c5e2356f144e065f6099b2bbd6a29cf2d08e263 (diff)
downloadvcpkg-b65decc9f7d40d1ffef6b45facdb18157c034c09.tar.gz
vcpkg-b65decc9f7d40d1ffef6b45facdb18157c034c09.zip
[utf8h] Update to latest commit (#12218)
This library doesn't provide official releases, therefore I'm using the latest commit.
-rw-r--r--ports/utf8h/CONTROL3
-rw-r--r--ports/utf8h/portfile.cmake10
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)