diff --git a/srcpkgs/passt/template b/srcpkgs/passt/template new file mode 100644 index 00000000000000..f8b81f01f310da --- /dev/null +++ b/srcpkgs/passt/template @@ -0,0 +1,19 @@ +# Template file for 'passt' +pkgname=passt +version=2023.03.21.1ee2f7c +revision=1 +# upstream uses YYYY_MM_DD.COMMIT +_version=${version/./_} +_version=${_version/./_} +build_style=gnu-makefile +short_desc="Plug A Simple Socket Transport" +maintainer="lemmi " +license="AGPL-3.0-or-later, BSD-3-Clause" +homepage="https://passt.top" +distfiles="https://passt.top/passt/snapshot/passt-${_version}.tar.xz" +checksum=46ae6bd4b03ba0982938f51fbfbf8c0f11ac0c23e4a04c41211f03e0aa564952 + +post_install() { + vlicense LICENSES/AGPL-3.0-or-later.txt + vlicense LICENSES/BSD-3-Clause.txt +} diff --git a/srcpkgs/passt/update b/srcpkgs/passt/update new file mode 100644 index 00000000000000..53a0287086547e --- /dev/null +++ b/srcpkgs/passt/update @@ -0,0 +1,2 @@ +site="https://passt.top/passt" +pattern='passt-\K[\d._abcdef]+(?=.tar.xz)'