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

Antonio Rojas arojas at archlinux.org
Tue Mar 31 11:46:20 UTC 2020


    Date: Tuesday, March 31, 2020 @ 11:46:20
  Author: arojas
Revision: 378908

archrelease: copy trunk to testing-x86_64

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

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

Copied: pyside2-tools/repos/testing-x86_64/PKGBUILD (from rev 378907, pyside2-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-03-31 11:46:20 UTC (rev 378908)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside2-tools
+_qtver=5.14.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=('7c7af33792de57255dbdc165c808e1f03a2520295c5922d9897aca8ad1be92b3')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${_pkgfqn}/sources/pyside2-tools \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm "$pkgdir"/usr/bin/{rcc,uic} # provided by qt5-base
+}



More information about the arch-commits mailing list