[arch-commits] Commit in qt5-declarative/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Jan 29 21:41:27 UTC 2022


    Date: Saturday, January 29, 2022 @ 21:41:26
  Author: arojas
Revision: 435393

archrelease: copy trunk to extra-x86_64

Added:
  qt5-declarative/repos/extra-x86_64/PKGBUILD
    (from rev 435392, qt5-declarative/trunk/PKGBUILD)
Deleted:
  qt5-declarative/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-29 21:41:15 UTC (rev 435392)
+++ PKGBUILD	2022-01-29 21:41:26 UTC (rev 435393)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=qt5-declarative
-pkgver=5.15.2+kde+r43
-pkgrel=1
-_commit=c691908c54ed7815f513f8511005dbf1f13ad40d
-arch=('x86_64')
-url='https://www.qt.io'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-pkgdesc='Classes for QML and JavaScript languages'
-depends=('qt5-base')
-makedepends=('python' 'vulkan-headers' 'git')
-groups=('qt' 'qt5')
-conflicts=('qtchooser')
-_pkgfqn=qtdeclarative
-source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $_pkgfqn
-  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
-}
-
-prepare() {
-  mkdir -p build
-
-  cd $_pkgfqn
-  git revert -n 568763928a78b52373932b01be17e040f7c3fa50 # Revert version bump
-}
-
-build() {
-  cd build
-
-  qmake ../${_pkgfqn}
-  make
-}
-
-package() {
-  cd build
-  make INSTALL_ROOT="$pkgdir" install
-
-  # Symlinks for backwards compatibility
-  for b in "$pkgdir"/usr/bin/*; do
-    ln -s $(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt5
-  done
-
-  # 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-declarative/repos/extra-x86_64/PKGBUILD (from rev 435392, qt5-declarative/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-29 21:41:26 UTC (rev 435393)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-declarative
+pkgver=5.15.2+kde+r43
+pkgrel=2
+_commit=c691908c54ed7815f513f8511005dbf1f13ad40d
+arch=('x86_64')
+url='https://www.qt.io'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for QML and JavaScript languages'
+depends=('qt5-base')
+makedepends=('python' 'vulkan-headers' 'git')
+groups=('qt' 'qt5')
+conflicts=('qtchooser')
+_pkgfqn=qtdeclarative
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
+options=(debug)
+
+pkgver() {
+  cd $_pkgfqn
+  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+}
+
+prepare() {
+  mkdir -p build
+
+  cd $_pkgfqn
+  git revert -n 568763928a78b52373932b01be17e040f7c3fa50 # Revert version bump
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Symlinks for backwards compatibility
+  for b in "$pkgdir"/usr/bin/*; do
+    ln -s $(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt5
+  done
+
+  # 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}
+}



More information about the arch-commits mailing list