diff --git a/srcpkgs/snx-rs/template b/srcpkgs/snx-rs/template new file mode 100644 index 00000000000000..6902dd9f282688 --- /dev/null +++ b/srcpkgs/snx-rs/template @@ -0,0 +1,20 @@ +# Template file for 'snx-rs' +pkgname=snx-rs +version=6.2.1 +revision=1 +build_style=cargo +make_build_args="--package snx-rs --package snxctl" +hostmakedepends="pkg-config" +makedepends="openssl-devel sqlite-devel" +short_desc="Open Source Client For Check Point VPN Tunnels (CLI only)" +maintainer="Salvatore Stella " +license="AGPL-3.0-only" +homepage="https://github.com/ancwrd1/snx-rs" +changelog="https://raw.githubusercontent.com/ancwrd1/snx-rs/refs/heads/main/CHANGELOG.md" +distfiles="https://github.com/ancwrd1/snx-rs/archive/refs/tags/v${version}.tar.gz" +checksum=4c94b0df48b846dbac1a77ecc84efba368298f8127aac794141fdc682d299943 + +do_install() { + vbin target/${RUST_TARGET}/release/snx-rs + vbin target/${RUST_TARGET}/release/snxctl +}