mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
778 B
Bash
28 lines
778 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
|
|
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=python2-pdf
|
|
_pkgname=pyPdf
|
|
pkgver=1.13
|
|
pkgrel=1
|
|
pkgdesc="A Pure-Python library built as a PDF toolkit"
|
|
arch=('any')
|
|
url="http://pybrary.net/pyPdf"
|
|
license=('BSD')
|
|
depends=('python2')
|
|
replaces=(python-pypdf)
|
|
provides=(python-pypdf)
|
|
source=(http://pybrary.net/$_pkgname/$_pkgname-$pkgver.tar.gz
|
|
license.txt)
|
|
md5sums=('7a75ef56f227b78ae62d6e38d4b6b1da'
|
|
'19b1b4bc0a9a8c4b7b2f5689a16cec2c')
|
|
|
|
package() {
|
|
cd ${srcdir}/$_pkgname-${pkgver}
|
|
python2 setup.py install --root=${pkgdir}
|
|
install -D -m644 ../license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
|
|
}
|