[arch-commits] Commit in pyside2-tools/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Nov 20 11:40:28 UTC 2020
Date: Friday, November 20, 2020 @ 11:40:28
Author: arojas
Revision: 401535
Update to 5.15.2
Modified:
pyside2-tools/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-20 11:36:21 UTC (rev 401534)
+++ PKGBUILD 2020-11-20 11:40:28 UTC (rev 401535)
@@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=pyside2-tools
-_qtver=5.15.1
+_qtver=5.15.2
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
@@ -13,23 +13,17 @@
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=('f175c1d8813257904cf0efeb58e44f68d53b9916f73adaf9ce19514c0271c3fa')
+sha256sums=('b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418')
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../${_pkgfqn}/sources/pyside2-tools \
+ cmake -B build -S ${_pkgfqn}/sources/pyside2-tools \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=OFF
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
rm "$pkgdir"/usr/bin/{rcc,uic} # provided by qt5-base
}
More information about the arch-commits
mailing list