[arch-commits] Commit in python-pikepdf/repos (2 files)
Andreas Radke
andyrtr at archlinux.org
Tue Apr 7 09:42:28 UTC 2020
Date: Tuesday, April 7, 2020 @ 09:42:28
Author: andyrtr
Revision: 612438
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 612437, python-pikepdf/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-pikepdf/repos/community-staging-x86_64/PKGBUILD (from rev 612437, python-pikepdf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-07 09:42:28 UTC (rev 612438)
@@ -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.10.4
+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=('735b3bdd6063f906689a08411d3187fa7a51f9b8ab6799e610774b59722a7edc')
+
+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