Skip to content

Instantly share code, notes, and snippets.

@mcharytoniuk mcharytoniuk/.footprint
Last active Oct 9, 2019

Embed
What would you like to do?
crux port: protonvpn-cli
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/openvpn/
-rwxr-xr-x root/root etc/openvpn/update-resolv-conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/protonvpn-cli
lrwxrwxrwx root/root usr/bin/pvpn -> /usr/bin/protonvpn-cli
29babaaa1b57eac1fb25b9d476f58f1a update-resolv-conf.sh
a21bb23178fc228df0be634636bd38bb v1.1.2
# Description: ProtonVPN Command-Line Tool for Linux and macOS.
# URL: https://github.com/ProtonVPN/protonvpn-cli
# Maintainer: lealaps, mateusz dot charytoniuk at newride dot tech
# Depends on: dialog openvpn
name=protonvpn-cli
version=1.1.2
release=1
source=(
https://codeload.github.com/ProtonVPN/${name}/tar.gz/v${version}
# update-resolv-conf.sh commit has must be synced with protonvpn-cli release version
https://raw.githubusercontent.com/ProtonVPN/scripts/d5d0be1a8e4cbc062aedb2e34f8cbe97184d233a/update-resolv-conf.sh
)
build() {
tar zxvf v${version}
# install protonvpn-cli itself
install -m 755 -D $SRC/$name-$version/protonvpn-cli.sh $PKG/usr/bin/protonvpn-cli
ln -s /usr/bin/protonvpn-cli $PKG/usr/bin/pvpn
# install update-resolv-conf.sh script
install -m 755 -D $SRC/update-resolv-conf.sh $PKG/etc/openvpn/update-resolv-conf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.