author | Antonio Rojas
<arojas@archlinux.org> 2023-12-05 22:22:36 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2023-12-05 22:22:36 UTC |
parent | 05f46f8bb3c6bf2e0c26b64be77d39445497024d |
.SRCINFO | +30 | -0 |
PKGBUILD | +17 | -6 |
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..06a90ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = qcoro + pkgdesc = C++ Coroutines for Qt + pkgver = 0.10.0 + pkgrel = 1 + url = https://github.com/danvratil/qcoro + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = qt5-declarative + makedepends = qt5-websockets + makedepends = qt6-declarative + makedepends = qt6-websockets + depends = gcc-libs + depends = glibc + source = https://github.com/danvratil/qcoro/archive/v0.10.0/qcoro-qt5-0.10.0.tar.gz + sha256sums = b7c8f00273ad27d85814bf4ec93eb6922c75656800a61d11854d36355a4a1aec + +pkgname = qcoro-qt5 + depends = gcc-libs + depends = glibc + depends = qt5-base + depends = qt5-declarative + depends = qt5-websockets + +pkgname = qcoro-qt6 + depends = gcc-libs + depends = glibc + depends = qt6-base + depends = qt6-declarative + depends = qt6-websockets diff --git a/PKGBUILD b/PKGBUILD index 819cf54..3ea0935 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,23 @@ # Maintainer: Antonio Rojas <arojas@archlinux.org> pkgbase=qcoro -pkgname=(qcoro-qt5 qcoro-qt6) -pkgver=0.9.0 +pkgname=(qcoro-qt5 + qcoro-qt6) +pkgver=0.10.0 pkgrel=1 pkgdesc='C++ Coroutines for Qt' arch=(x86_64) url='https://github.com/danvratil/qcoro' license=(MIT) -makedepends=(cmake qt5-websockets qt6-websockets qt5-declarative qt6-declarative) +depends=(gcc-libs + glibc) +makedepends=(cmake + qt5-declarative + qt5-websockets + qt6-declarative + qt6-websockets) source=(https://github.com/danvratil/qcoro/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('cfaf6b778450f06adac4ce5e353eb6eae213a3b62b8c8740520d58cf9fe3ec1a') +sha256sums=('b7c8f00273ad27d85814bf4ec93eb6922c75656800a61d11854d36355a4a1aec') build() { cmake -B build5 -S $pkgbase-$pkgver \ @@ -27,13 +34,17 @@ build() { } package_qcoro-qt5() { - depends=(qt5-websockets qt5-declarative) + depends+=(qt5-base + qt5-declarative + qt5-websockets) DESTDIR="$pkgdir" cmake --install build5 install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname } package_qcoro-qt6() { - depends=(qt6-websockets qt6-declarative) + depends+=(qt6-base + qt6-declarative + qt6-websockets) DESTDIR="$pkgdir" cmake --install build6 install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname }