vp-build/srcpkgs/pycp/template

24 lines
743 B
Bash

# Template file for 'pycp'
pkgname=pycp
version=7.3.0
revision=1
noarch=yes
build_style=python3-module
hostmakedepends="python3 help2man python3-setuptools"
makedepends="python3-setuptools"
depends="${makedepends}"
short_desc="A cp and mv with a progressbar"
maintainer="fs0ciety <mrrobot@fsociety.info>"
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
}