[arch-commits] Commit in zxing-cpp/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri May 28 14:05:47 UTC 2021
Date: Friday, May 28, 2021 @ 14:05:47
Author: arojas
Revision: 416789
Update to 1.2.0
Modified:
zxing-cpp/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-28 13:21:58 UTC (rev 416788)
+++ PKGBUILD 2021-05-28 14:05:47 UTC (rev 416789)
@@ -2,22 +2,23 @@
# Maintainer: Maxime Arthaud <maxime at arthaud.me>
pkgname=zxing-cpp
-pkgver=1.1.1
+pkgver=1.2.0
pkgrel=1
-pkgdesc="A C++ library to decode QRCode"
+pkgdesc='A C++ library to decode QRCode'
arch=(x86_64)
-url="https://github.com/nu-book/zxing-cpp"
+url='https://github.com/nu-book/zxing-cpp'
license=(Apache)
depends=(gcc-libs)
makedepends=(cmake)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/nu-book/zxing-cpp/archive/v$pkgver.tar.gz")
-sha256sums=('e595b3fa2ec320beb0b28f6af56b1141853257c2611686685639cebb3b248c86')
+source=(https://github.com/nu-book/zxing-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('653d9e44195d86cf64a36af9ff3a1978ec5599df3882439fefa56e7064f55e8a')
build() {
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
- -DBUILD_EXAMPLES=OFF
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_BLACKBOX_TESTS=OFF
cmake --build build
}
More information about the arch-commits
mailing list