void-packages/srcpkgs/python-pam/template

31 lines
773 B
Bash

# Template file for 'python-pam'
pkgname=python-pam
version=1.8.4
revision=2
archs=noarch
build_style=python-module
pycompile_module="pam.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python pam"
short_desc="Python2 module for PAM authentication"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="https://github.com/FirefighterBlu3/python-pam"
distfiles="https://github.com/FirefighterBlu3/python-pam/archive/v${version}.tar.gz"
checksum=fa048ca74f08de1390b2576754c05327700a7ebc3d05511f0329a04ebe1aeaa3
post_install() {
vlicense LICENSE
}
python3-pam_package() {
archs=noarch
depends="python3 pam"
pycompile_module="pam.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}