751f1cc54c
Also, python3-pam was missing noarch=yes and pycompile_module.
30 lines
769 B
Bash
30 lines
769 B
Bash
# Template file for 'python-pam'
|
|
pkgname=python-pam
|
|
version=1.8.4
|
|
revision=2
|
|
noarch=yes
|
|
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() {
|
|
noarch=yes
|
|
depends="python3 pam"
|
|
pycompile_module="pam.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|