[arch-commits] Commit in python-poppler-qt5/repos (2 files)
Bruno Pagani
archange at archlinux.org
Wed Mar 17 03:14:38 UTC 2021
Date: Wednesday, March 17, 2021 @ 03:14:37
Author: archange
Revision: 892849
archrelease: copy trunk to community-x86_64
Added:
python-poppler-qt5/repos/community-x86_64/
python-poppler-qt5/repos/community-x86_64/PKGBUILD
(from rev 892848, python-poppler-qt5/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-poppler-qt5/repos/community-x86_64/PKGBUILD (from rev 892848, python-poppler-qt5/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-03-17 03:14:37 UTC (rev 892849)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=python-poppler-qt5
+pkgver=21.1.0
+pkgrel=1
+pkgdesc="Python binding to libpoppler-qt5"
+arch=(x86_64)
+url="https://github.com/frescobaldi/python-poppler-qt5"
+license=(LGPL)
+depends=(qt5-base poppler-qt5 python-pyqt5)
+makedepends=(pyqt-builder sip)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ ${pkgname}-pr45.patch::${url}/pull/45.patch)
+sha256sums=('5a234c2394990c06fe21d40f39725b349b6478235dd22350987040d3bb3177cc'
+ '800b427dd5d88fd47f00a10caaed40a2ea1f3ae0f35adc2640bbe4ce14a3a51e')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ../${pkgname}-pr45.patch
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ sip-build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ sip-install --target-dir="${pkgdir}"${site_packages}
+}
More information about the arch-commits
mailing list