[arch-commits] Commit in pyside2-tools/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Dec 19 16:01:22 UTC 2019
Date: Thursday, December 19, 2019 @ 16:01:21
Author: arojas
Revision: 371857
archrelease: copy trunk to staging-x86_64
Added:
pyside2-tools/repos/staging-x86_64/
pyside2-tools/repos/staging-x86_64/PKGBUILD
(from rev 371856, pyside2-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: pyside2-tools/repos/staging-x86_64/PKGBUILD (from rev 371856, pyside2-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-12-19 16:01:21 UTC (rev 371857)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside2-tools
+_qtver=5.14.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(LGPL)
+pkgdesc='lupdate, rcc and uic 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=('8c2ad1901a99165ed7bac8f522ee351ae3ebadd580024248f5a1db52e4a94b30')
+
+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