Date: Saturday, April 8, 2023 @ 06:33:35
Author: felixonmars
Revision: 1441997
archrelease: copy trunk to community-staging-x86_64
Added:
python-poppler-qt5/repos/community-staging-x86_64/
python-poppler-qt5/repos/community-staging-x86_64/PKGBUILD
(from rev 1441996, python-poppler-qt5/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-poppler-qt5/repos/community-staging-x86_64/PKGBUILD (from rev
1441996, python-poppler-qt5/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-08 06:33:35 UTC (rev 1441997)
@@ -0,0 +1,24 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+pkgname=python-poppler-qt5
+pkgver=21.3.0
+pkgrel=2
+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)
+sha256sums=('dbf3be9c8123429c8a73ebd4c18993331619198e88fa40dde99f48213fa75012')
+
+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}
+}