Date: Sunday, January 30, 2022 @ 11:50:14 Author: arojas Revision: 435472
archrelease: copy trunk to extra-x86_64 Added: qt5-script/repos/extra-x86_64/PKGBUILD (from rev 435471, qt5-script/trunk/PKGBUILD) Deleted: qt5-script/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-30 11:50:04 UTC (rev 435471) +++ PKGBUILD 2022-01-30 11:50:14 UTC (rev 435472) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgname=qt5-script -_qtver=5.15.8 -pkgver=${_qtver/-/} -pkgrel=2 -arch=('x86_64') -url='https://www.qt.io' -license=('GPL3' 'LGPL3' 'FDL' 'custom') -pkgdesc='Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility' -depends=('qt5-base') -makedepends=('git') -groups=('qt' 'qt5') -_pkgfqn=${pkgname/5-/} -source=(git+https://code.qt.io/qt/$_pkgfqn.git#tag=v${pkgver}-lts) -sha256sums=('SKIP') -options=(!lto) - -prepare() { - mkdir -p build -} - -build() { - cd build - -# Disable LTO, see FS#73264 - qmake ../${_pkgfqn} CONFIG-=ltcg - make -} - -package() { - cd build - make INSTALL_ROOT="$pkgdir" install - - # Drop QMAKE_PRL_BUILD_DIR because reference the build dir - find "$pkgdir/usr/lib" -type f -name '*.prl' \ - -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} - - # Fix cmake dependency versions - sed -e "s|$pkgver\ |5.15.2 |" -i "$pkgdir"/usr/lib/cmake/*/*Config.cmake -} Copied: qt5-script/repos/extra-x86_64/PKGBUILD (from rev 435471, qt5-script/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-30 11:50:14 UTC (rev 435472) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-script +_qtver=5.15.8 +pkgver=${_qtver/-/} +pkgrel=3 +arch=('x86_64') +url='https://www.qt.io' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility' +depends=('qt5-base') +makedepends=('git') +groups=('qt' 'qt5') +_pkgfqn=${pkgname/5-/} +source=(git+https://code.qt.io/qt/$_pkgfqn.git#tag=v${pkgver}-lts) +sha256sums=('SKIP') +options=(!lto debug) + +prepare() { + mkdir -p build +} + +build() { + cd build + +# Disable LTO, see FS#73264 + qmake ../${_pkgfqn} CONFIG-=ltcg + make +} + +package() { + cd build + make INSTALL_ROOT="$pkgdir" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$pkgdir/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} + + # Fix cmake dependency versions + sed -e "s|$pkgver\ |5.15.2 |" -i "$pkgdir"/usr/lib/cmake/*/*Config.cmake +}