22 lines
661 B
Bash
22 lines
661 B
Bash
# Template file for 'python3-pdfrw'
|
|
pkgname=python3-pdfrw
|
|
version=0.4
|
|
revision=6
|
|
wrksrc="pdfrw-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
short_desc="Pure Python3 library that reads and writes PDFs"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, BSD-3-Clause"
|
|
homepage="https://github.com/pmaupin/pdfrw"
|
|
distfiles="${PYPI_SITE}/p/pdfrw/pdfrw-${version}.tar.gz"
|
|
checksum=0dc0494a0e6561b268542b28ede2280387c2728114f117d3bb5d8e4787b93ef4
|
|
replaces="python-pdfrw-example>=0"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
vmkdir usr/share/examples/${pkgname}
|
|
vcopy examples/* usr/share/examples/${pkgname}
|
|
}
|