author | Antonio Rojas
<arojas@archlinux.org> 2024-04-08 15:56:53 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2024-04-08 15:56:53 UTC |
parent | 2f098e9c61dd57de81aa79b08b10c2c5c1638a06 |
PKGBUILD | +7 | -7 |
diff --git a/PKGBUILD b/PKGBUILD index bbf4cfb..c0cb9cd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -28,29 +28,29 @@ optdepends=('qt5-svg: to use SVG icon themes' conflicts=('qtchooser') groups=('qt5') _pkgfqn=${pkgbase/5-/} -source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit +source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit work-around-pyside2-brokenness.patch qmake-cflags.patch qmake-config.patch) -sha256sums=('SKIP' +sha256sums=('2ccdeb64ceac1fa94e74c0cc69f93725a4ff1971d632c77015aff0c0e5b08b81' '6a4ec2bfcf4e7cff73346762b252cc28be5ca0ed79fde5e69350efe229b43adc' '5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78' '4abc22150fa3e06b2fdcec32146abc9be4e316692aa4d5bd5aa53b4b726783fa') pkgver() { - cd $_pkgfqn + cd kde-$_pkgfqn echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` | sed -e 's|+kde+r0||' } prepare() { - cd ${_pkgfqn} + cd kde-$_pkgfqn patch -p1 < ../work-around-pyside2-brokenness.patch patch -p1 < ../qmake-cflags.patch # Use system CFLAGS in qmake patch -p1 < ../qmake-config.patch # Don't strip binaries with qmake and use -ltcg, cf. QTBUG-73834 } build() { - cd ${_pkgfqn} + cd kde-$_pkgfqn ./configure -confirm-license -opensource -v \ -prefix /usr \ @@ -83,7 +83,7 @@ package_qt5-base() { pkgdesc='A cross-platform application and UI framework' depends+=(qt5-translations) - cd ${_pkgfqn} + cd kde-$_pkgfqn make INSTALL_ROOT="${pkgdir}" install install -Dm644 LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase @@ -110,7 +110,7 @@ package_qt5-xcb-private-headers() { groups=() conflicts=() - cd ${_pkgfqn} + cd kde-$_pkgfqn install -d -m755 "$pkgdir"/usr/include/qtxcb-private cp -r src/plugins/platforms/xcb/*.h "$pkgdir"/usr/include/qtxcb-private/ }