diff --git a/srcpkgs/pycp/template b/srcpkgs/pycp/template new file mode 100644 index 00000000000..26234eb1105 --- /dev/null +++ b/srcpkgs/pycp/template @@ -0,0 +1,22 @@ +# Template file for 'pycp' +pkgname=pycp +version=7.3.0 +revision=1 +noarch=yes +build_style=python3-module +makedepends="python3 python3-setuptools help2man" +depends="${makedepends}" +short_desc="A cp and mv with a progressbar" +maintainer="fs0ciety " +license="MIT" +homepage="https://github.com/dmerejkowsky/pycp" +distfiles="https://github.com/dmerejkowsky/${pkgname}/archive/v${version}.tar.gz" +checksum=c8a98cb9f63e9208ed1d858e9e3912f0769b1992d633ff22a41e53e68bfe73a3 + +post_install() { + PYTHONPATH=. help2man --no-info --output pycp.1 ${PKGDESTDIR}/usr/bin/pycp + PYTHONPATH=. help2man --no-info --output pymv.1 ${PKGDESTDIR}/usr/bin/pymv + vman pycp.1 + vman pymv.1 + vlicense COPYING.txt +}