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

Antonio Rojas arojas at archlinux.org
Wed May 27 13:24:01 UTC 2020


    Date: Wednesday, May 27, 2020 @ 13:24:00
  Author: arojas
Revision: 387715

archrelease: copy trunk to staging-x86_64

Added:
  pyside2-tools/repos/staging-x86_64/
  pyside2-tools/repos/staging-x86_64/PKGBUILD
    (from rev 387714, pyside2-tools/trunk/PKGBUILD)

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

Copied: pyside2-tools/repos/staging-x86_64/PKGBUILD (from rev 387714, pyside2-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-27 13:24:00 UTC (rev 387715)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside2-tools
+_qtver=5.15.0
+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=('f1cdee53de3b76e22c1117a014a91ed95ac16e4760776f4f12dc38cd5a7b6b68')
+
+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