[arch-commits] Commit in python-pikepdf/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 06:46:52 UTC 2019
Date: Saturday, October 26, 2019 @ 06:46:51
Author: felixonmars
Revision: 520314
archrelease: copy trunk to community-staging-x86_64
Added:
python-pikepdf/repos/community-staging-x86_64/
python-pikepdf/repos/community-staging-x86_64/PKGBUILD
(from rev 520313, python-pikepdf/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-pikepdf/repos/community-staging-x86_64/PKGBUILD (from rev 520313, python-pikepdf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-26 06:46:51 UTC (rev 520314)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Fredrick Brennan <copypaste at kittens.ph>
+# Contributor: Stephan Eisvogel <eisvogel at embinet dot de>
+
+pkgname=python-pikepdf
+pkgver=1.6.5
+pkgrel=2
+pkgdesc='Read and write PDFs with Python, powered by qpdf'
+arch=(x86_64)
+url='https://github.com/pikepdf/pikepdf'
+license=(MPL2)
+makedepends=(pybind11 python-setuptools)
+depends=(python-lxml qpdf)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/pikepdf/pikepdf/archive/v$pkgver.tar.gz")
+sha256sums=('b0523fa9a04982999c1b57e840d1bb831be2a2cc0e737c7b2a40ad36ac23cd61')
+
+build() {
+ cd pikepdf-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd pikepdf-$pkgver
+ python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list