[arch-commits] Commit in qcoro/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Apr 27 18:51:31 UTC 2022


    Date: Wednesday, April 27, 2022 @ 18:51:31
  Author: arojas
Revision: 1191290

archrelease: copy trunk to community-x86_64

Added:
  qcoro/repos/community-x86_64/PKGBUILD
    (from rev 1191289, qcoro/trunk/PKGBUILD)
Deleted:
  qcoro/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 39 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-27 18:51:17 UTC (rev 1191289)
+++ PKGBUILD	2022-04-27 18:51:31 UTC (rev 1191290)
@@ -1,43 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgbase=qcoro
-pkgname=(qcoro-qt5 qcoro-qt6)
-pkgver=0.5.0
-pkgrel=1
-pkgdesc='C++ Coroutines for Qt'
-arch=(x86_64)
-url='https://github.com/danvratil/qcoro'
-license=(MIT)
-makedepends=(cmake qt5-base qt6-base)
-source=(https://github.com/danvratil/qcoro/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('b9e28379af83d608bd42a92bb4e53e8d125d8c970f526620bc4963d3f6399432')
-
-prepare() {
-  sed -e 's|-Werror||' -i $pkgbase-$pkgver/CMakeLists.txt
-}
-
-build() {
-  cmake -B build5 -S $pkgbase-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DUSE_QT_VERSION=5 \
-    -DBUILD_SHARED_LIBS=ON
-  cmake --build build5
-
-  cmake -B build6 -S $pkgbase-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DUSE_QT_VERSION=6 \
-    -DBUILD_SHARED_LIBS=ON
-  cmake --build build6
-}
-
-package_qcoro-qt5() {
-  depends=(qt5-base)
-  DESTDIR="$pkgdir" cmake --install build5
-  install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
-}
-
-package_qcoro-qt6() {
-  depends=(qt6-base)
-  DESTDIR="$pkgdir" cmake --install build6
-  install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: qcoro/repos/community-x86_64/PKGBUILD (from rev 1191289, qcoro/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-27 18:51:31 UTC (rev 1191290)
@@ -0,0 +1,39 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=qcoro
+pkgname=(qcoro-qt5 qcoro-qt6)
+pkgver=0.5.1
+pkgrel=1
+pkgdesc='C++ Coroutines for Qt'
+arch=(x86_64)
+url='https://github.com/danvratil/qcoro'
+license=(MIT)
+makedepends=(cmake qt5-base qt6-base)
+source=(https://github.com/danvratil/qcoro/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('49c996797d101d8152dcd5a35005c274770d75ef18eabff78c12cdfba36e6a8f')
+
+build() {
+  cmake -B build5 -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_QT_VERSION=5 \
+    -DBUILD_SHARED_LIBS=ON
+  cmake --build build5
+
+  cmake -B build6 -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_QT_VERSION=6 \
+    -DBUILD_SHARED_LIBS=ON
+  cmake --build build6
+}
+
+package_qcoro-qt5() {
+  depends=(qt5-base)
+  DESTDIR="$pkgdir" cmake --install build5
+  install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_qcoro-qt6() {
+  depends=(qt6-base)
+  DESTDIR="$pkgdir" cmake --install build6
+  install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list