1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Maxime Arthaud <maxime@arthaud.me>
7 pkgdesc='A C++ library to decode QRCode'
9 url='https://github.com/nu-book/zxing-cpp'
13 source=(https://github.com/nu-book/zxing-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
14 sha256sums=('126767bb56f8a1f25ae84d233db2e9b9be50d71f5776092d0e170ca0f0ed1862')
17 cmake -B build -S $pkgname-$pkgver \
18 -DCMAKE_INSTALL_PREFIX=/usr \
19 -DCMAKE_BUILD_TYPE=None \
20 -DBUILD_EXAMPLES=OFF \
21 -DBUILD_BLACKBOX_TESTS=OFF
26 DESTDIR="$pkgdir" cmake --install build