[arch-commits] Commit in pyside2-tools (3 files)
Antonio Rojas
arojas at archlinux.org
Sat Jun 16 08:46:56 UTC 2018
Date: Saturday, June 16, 2018 @ 08:46:56
Author: arojas
Revision: 327037
archrelease: copy trunk to extra-x86_64
Added:
pyside2-tools/repos/
pyside2-tools/repos/extra-x86_64/
pyside2-tools/repos/extra-x86_64/PKGBUILD
(from rev 327036, pyside2-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: pyside2-tools/repos/extra-x86_64/PKGBUILD (from rev 327036, pyside2-tools/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD (rev 0)
+++ repos/extra-x86_64/PKGBUILD 2018-06-16 08:46:56 UTC (rev 327037)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside2-tools
+_qtver=5.11.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=(x86_64)
+url='http://qt-project.org/'
+license=(LGPL)
+pkgdesc='Enables the use of Qt5 APIs in Python applications'
+depends=(python-pyside2)
+makedepends=(cmake shiboken2 pyside2)
+_pkgfqn=pyside-setup-everywhere-src-${_qtver}
+source=("http://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz")
+sha256sums=('fbc412c4544bca308291a08a5173a949ca530d801f00b8337902a5067e490922')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${_pkgfqn}/sources/pyside2-tools \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DUSE_PYTHON_VERSION=3
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list