[arch-commits] Commit in python-pikepdf (3 files)

Antonio Rojas arojas at archlinux.org
Tue Jul 30 05:49:37 UTC 2019


    Date: Tuesday, July 30, 2019 @ 05:49:37
  Author: arojas
Revision: 495083

archrelease: copy trunk to community-x86_64

Added:
  python-pikepdf/repos/
  python-pikepdf/repos/community-x86_64/
  python-pikepdf/repos/community-x86_64/PKGBUILD
    (from rev 495082, python-pikepdf/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 495082, python-pikepdf/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2019-07-30 05:49:37 UTC (rev 495083)
@@ -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.0
+pkgrel=1
+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 qpdf)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/pikepdf/pikepdf/archive/v$pkgver.tar.gz")
+sha256sums=('5aef2c61f915bec92a91bf0cb9c7119f7e39a05785ff4beac4193c624ffe9cb4')
+
+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