Date: Thursday, May 7, 2020 @ 22:08:17 Author: arojas Revision: 382706
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: qt5-serialport/repos/kde-unstable-x86_64/PKGBUILD (from rev 382705, qt5-serialport/kde-unstable/PKGBUILD) Deleted: qt5-serialport/repos/kde-unstable-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-07 22:08:01 UTC (rev 382705) +++ PKGBUILD 2020-05-07 22:08:17 UTC (rev 382706) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgname=qt5-serialport -_qtver=5.15.0-beta4 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('x86_64') -url='https://www.qt.io' -license=('GPL3' 'LGPL3' 'FDL' 'custom') -pkgdesc='Provides access to hardware and virtual serial ports' -depends=('qt5-base') -makedepends=() -groups=('qt' 'qt5') -_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" -source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('fb517f865f87df63fbfd658cc88defa559bb26c33ef91fd9562f47f4d6c56e76') - -prepare() { - mkdir -p build -} - -build() { - cd build - - qmake ../${_pkgfqn} - 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} -} Copied: qt5-serialport/repos/kde-unstable-x86_64/PKGBUILD (from rev 382705, qt5-serialport/kde-unstable/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-07 22:08:17 UTC (rev 382706) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-serialport +_qtver=5.15.0-rc +pkgver=${_qtver/-/} +pkgrel=1 +arch=('x86_64') +url='https://www.qt.io' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Provides access to hardware and virtual serial ports' +depends=('qt5-base') +makedepends=() +groups=('qt' 'qt5') +_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('bd4e4a851c2778a27d08659a9a1a2cb9005fa3d86421ae7ed89e7c86c88777c7') + +prepare() { + mkdir -p build +} + +build() { + cd build + + qmake ../${_pkgfqn} + 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} +}