[arch-commits] Commit in pyside2-tools/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Nov 20 11:40:35 UTC 2020


    Date: Friday, November 20, 2020 @ 11:40:35
  Author: arojas
Revision: 401536

archrelease: copy trunk to testing-x86_64

Added:
  pyside2-tools/repos/testing-x86_64/
  pyside2-tools/repos/testing-x86_64/PKGBUILD
    (from rev 401535, pyside2-tools/trunk/PKGBUILD)

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

Copied: pyside2-tools/repos/testing-x86_64/PKGBUILD (from rev 401535, pyside2-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-11-20 11:40:35 UTC (rev 401536)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside2-tools
+_qtver=5.15.2
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(LGPL)
+pkgdesc='Tools for PySide2'
+depends=(pyside2)
+makedepends=(cmake shiboken2)
+_pkgfqn=pyside-setup-opensource-src-$_qtver
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz")
+sha256sums=('b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418')
+
+build() {
+  cmake -B build -S ${_pkgfqn}/sources/pyside2-tools \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTS=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  rm "$pkgdir"/usr/bin/{rcc,uic} # provided by qt5-base
+}



More information about the arch-commits mailing list