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

Antonio Rojas arojas at gemini.archlinux.org
Mon Jan 24 15:19:36 UTC 2022


    Date: Monday, January 24, 2022 @ 15:19:36
  Author: arojas
Revision: 435064

archrelease: copy trunk to extra-x86_64

Added:
  quazip/repos/extra-x86_64/PKGBUILD
    (from rev 435063, quazip/trunk/PKGBUILD)
Deleted:
  quazip/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 42 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-24 15:19:27 UTC (rev 435063)
+++ PKGBUILD	2022-01-24 15:19:36 UTC (rev 435064)
@@ -1,27 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: trya <tryagainprod at gmail.com>
-
-pkgname=quazip
-pkgver=1.2
-pkgrel=1
-pkgdesc='C++ wrapper for the ZIP/UNZIP C package'
-url='https://stachenov.github.io/quazip/'
-license=(LGPL)
-arch=(x86_64)
-depends=(qt5-base)
-makedepends=(cmake)
-source=(https://github.com/stachenov/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61')
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: quazip/repos/extra-x86_64/PKGBUILD (from rev 435063, quazip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-24 15:19:36 UTC (rev 435064)
@@ -0,0 +1,42 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: trya <tryagainprod at gmail.com>
+
+pkgbase=quazip
+pkgname=(quazip-qt5 quazip-qt6)
+pkgver=1.2
+pkgrel=2
+pkgdesc='C++ wrapper for the ZIP/UNZIP C package'
+url='https://stachenov.github.io/quazip/'
+license=(LGPL)
+arch=(x86_64)
+makedepends=(cmake qt5-base qt6-5compat)
+source=(https://github.com/stachenov/$pkgname/archive/v$pkgver/$pkgbase-$pkgver.tar.gz)
+sha256sums=('2dfb911d6b27545de0b98798d967c40430312377e6ade57096d6ec80c720cb61')
+
+build() {
+  cmake -B build5 -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build5
+
+  cmake -B build6 -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DQUAZIP_QT_MAJOR_VERSION=6
+  cmake --build build6
+}
+
+package_quazip-qt5() {
+  depends=(qt5-base)
+  provides=(quazip)
+  replaces=(quazip)
+
+  DESTDIR="$pkgdir" cmake --install build5
+}
+
+package_quazip-qt6() {
+  depends=(qt6-5compat)
+
+  DESTDIR="$pkgdir" cmake --install build6
+}



More information about the arch-commits mailing list