[arch-commits] Commit in (3 files)

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


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

Add new pdfarranger dependency

Added:
  python-pikepdf/
  python-pikepdf/trunk/
  python-pikepdf/trunk/PKGBUILD

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

Added: python-pikepdf/trunk/PKGBUILD
===================================================================
--- python-pikepdf/trunk/PKGBUILD	                        (rev 0)
+++ python-pikepdf/trunk/PKGBUILD	2019-07-30 05:49:05 UTC (rev 495082)
@@ -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