[arch-commits] Commit in zxing-cpp/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jul 7 19:50:56 UTC 2022
Date: Thursday, July 7, 2022 @ 19:50:56
Author: arojas
Revision: 450514
archrelease: copy trunk to testing-x86_64
Added:
zxing-cpp/repos/testing-x86_64/
zxing-cpp/repos/testing-x86_64/PKGBUILD
(from rev 450513, zxing-cpp/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: zxing-cpp/repos/testing-x86_64/PKGBUILD (from rev 450513, zxing-cpp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-07-07 19:50:56 UTC (rev 450514)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Maxime Arthaud <maxime at arthaud.me>
+
+pkgname=zxing-cpp
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='A C++ library to decode QRCode'
+arch=(x86_64)
+url='https://github.com/nu-book/zxing-cpp'
+license=(Apache)
+depends=(gcc-libs)
+makedepends=(cmake)
+source=(https://github.com/nu-book/zxing-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('126767bb56f8a1f25ae84d233db2e9b9be50d71f5776092d0e170ca0f0ed1862')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_BLACKBOX_TESTS=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list