[arch-commits] Commit in (shiboken6 shiboken6/trunk shiboken6/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Dec 10 16:27:04 UTC 2020


    Date: Thursday, December 10, 2020 @ 16:27:03
  Author: arojas
Revision: 403704

Add shiboken6

Added:
  shiboken6/
  shiboken6/trunk/
  shiboken6/trunk/PKGBUILD

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

Added: shiboken6/trunk/PKGBUILD
===================================================================
--- shiboken6/trunk/PKGBUILD	                        (rev 0)
+++ shiboken6/trunk/PKGBUILD	2020-12-10 16:27:03 UTC (rev 403704)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=shiboken6
+_qtver=6.0.0
+_clangver=11.0.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL2 LGPL)
+pkgdesc='Generates bindings for C++ libraries using CPython source code'
+depends=(clang=$_clangver llvm libxslt qt6-base)
+makedepends=(cmake python-sphinx)
+optdepends=('python: Python bindings')
+_pkgfqn=pyside-setup-opensource-src-$_qtver
+source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfqn}.tar.xz")
+sha256sums=('f47a4598118510feecc96b9d4b01063d206ac9a1240af3545163d2891db27dd4')
+
+build() {
+  cmake -B build -S ${_pkgfqn}/sources/shiboken6 \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTS=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list