summarylogtreecommitdiffstats
path: root/vcpkg-git.install
diff options
context:
space:
mode:
authorkyechou2021-10-08 14:55:18 -0500
committerkyechou2021-10-08 14:55:31 -0500
commit76609e68564ce6712091820afe21656a157d2e0c (patch)
tree119f02ca616eaf0ce4aaf1189f9c369ae0d490e1 /vcpkg-git.install
parent01a6f08d08de70ed158fc7e0e1b525c14fca1aa5 (diff)
downloadaur-76609e68564ce6712091820afe21656a157d2e0c.tar.gz
Install vcpkg root at /opt/vcpkg and add a vcpkg system group with GID 499
Diffstat (limited to 'vcpkg-git.install')
-rw-r--r--vcpkg-git.install13
1 files changed, 9 insertions, 4 deletions
diff --git a/vcpkg-git.install b/vcpkg-git.install
index a45793492c61..de5153c57be2 100644
--- a/vcpkg-git.install
+++ b/vcpkg-git.install
@@ -1,12 +1,17 @@
post_install() {
-
+ export VCPKG_ROOT=/opt/vcpkg
+ export VCPKG_DOWNLOADS=/var/cache/vcpkg
+
cat << _EOF
==> vcpkg user note:
------------------------------------------------------------------------------
- "VCPKG_ROOT" is set to "/usr/share/vcpkg"
- "VCPKG_DOWNLOADS" is set to "/var/cache/vcpkg"
- To cooperate with CMake, add "-DCMAKE_TOOLCHAIN_FILE=/usr/share/vcpkg/scripts/buildsystems/vcpkg.cmake"
+ "VCPKG_ROOT" is set to "$VCPKG_ROOT"
+ "VCPKG_DOWNLOADS" is set to "$VCPKG_DOWNLOADS"
+ To cooperate with CMake, add "-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"
+
+ Please add the intended users to the group 'vcpkg':
+ # gpasswd -a <user> vcpkg
_EOF
}