aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Raiyani <nraiyani@gmail.com>2020-05-27 00:39:17 -0400
committerGitHub <noreply@github.com>2020-05-26 21:39:17 -0700
commit548822219352b55ca46dd75db683c06dcf45522a (patch)
treeb8c94d8d6159e938158eae2a0e3a9879dbbe4296
parentdbd822571e0ee68e0605ce03e386052e55db8229 (diff)
downloadvcpkg-548822219352b55ca46dd75db683c06dcf45522a.tar.gz
vcpkg-548822219352b55ca46dd75db683c06dcf45522a.zip
[scnlib] Update to version 0.3 (#11540)
* Update to version 0.3 * Update ports/scnlib/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
-rw-r--r--ports/scnlib/CONTROL2
-rw-r--r--ports/scnlib/portfile.cmake15
2 files changed, 10 insertions, 7 deletions
diff --git a/ports/scnlib/CONTROL b/ports/scnlib/CONTROL
index 5b589084a..cccdd55c2 100644
--- a/ports/scnlib/CONTROL
+++ b/ports/scnlib/CONTROL
@@ -1,4 +1,4 @@
Source: scnlib
-Version: 0.1.2
+Version: 0.3
Description: scnlib is a modern C++ library for replacing scanf and std::istream
Homepage: https://scnlib.dev/
diff --git a/ports/scnlib/portfile.cmake b/ports/scnlib/portfile.cmake
index 08343fc43..ae7777aa1 100644
--- a/ports/scnlib/portfile.cmake
+++ b/ports/scnlib/portfile.cmake
@@ -1,12 +1,10 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO eliaskosunen/scnlib
- REF v0.1.2
- SHA512 bb2aa176517d6547d62800839b7e9d86821a4006f7d09a8b3731b67f6fd7130f5cf8d73e7c8331c7c50f1dd5ca19bd3759bb0e181fcaed2f0bfb7fd8276ef141
+ REF v0.3
+ SHA512 91ab0ff5d7d2e4a4924bfa00cafc49c3b0d88b87f4adbdce786be0f51913e3c61c6948c27da6af1e020646e610540dc63323fbf7b59f9210266f1ba79bf95adc
HEAD_REF master
)
@@ -24,8 +22,13 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/scn)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share ${CURRENT_PACKAGES_DIR}/share/scn)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/scnlib RENAME copyright)
+file(REMOVE_RECURSE
+ ${CURRENT_PACKAGES_DIR}/debug/include
+ ${CURRENT_PACKAGES_DIR}/debug/share
+ ${CURRENT_PACKAGES_DIR}/share/scn)
+file(INSTALL ${SOURCE_PATH}/LICENSE
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
+ RENAME copyright)
vcpkg_test_cmake(PACKAGE_NAME scn)