New package: pizauth-1.0.7

This commit is contained in:
dkwo 2024-11-29 15:50:49 -05:00 committed by Duncan Overbruck
parent a6d37c56d4
commit 143b6d02b6

28
srcpkgs/pizauth/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'pizauth'
pkgname=pizauth
version=1.0.7
revision=1
build_style=cargo
configure_args="--all-features"
short_desc="Command-line OAuth2 authentication daemon"
maintainer="dkwo <npiazza@disroot.org>"
license="MIT AND Apache-2.0"
homepage="https://tratt.net/laurie/src/pizauth/"
distfiles="https://github.com/ltratt/pizauth/archive/refs/tags/pizauth-${version}.tar.gz"
checksum=24ae38cb00694281301c196e1d57b861bb539878d548e043d885735c3d3254f4
if [ "$XBPS_TARGET_LIBC" = "glibc" ] && [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
broken="boot-time crate fails"
fi
do_install() {
vbin target/${RUST_TARGET}/release/pizauth
vlicense LICENSE-MIT
vlicense LICENSE-APACHE
vman pizauth.1
vman pizauth.conf.5
vsconf examples/pizauth.conf
vcompletion share/bash/completion.bash bash
}