[testing] -> [extra] 'zxing-cpp-1.4.0-1' move

master
Cory Sanin 3 months ago
parent d94e673707
commit 5a9ff7a37e
Signed by: corysanin
GPG Key ID: 3B9B2D6223598BA7
  1. 6
      x86_64/extra/PKGBUILD
  2. 27
      x86_64/testing/PKGBUILD

@ -1,8 +1,8 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Maintainer: Cory Sanin <corysanin@artixlinux.org>
# Maintainer: Maxime Arthaud <maxime@arthaud.me>
pkgname=zxing-cpp
pkgver=1.3.0
pkgver=1.4.0
pkgrel=1
pkgdesc='A C++ library to decode QRCode'
arch=(x86_64)
@ -11,7 +11,7 @@ license=(Apache)
depends=(gcc-libs)
makedepends=(cmake)
source=(https://github.com/nu-book/zxing-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('bfd8fc706def30e34f96088b5a7afdbe0917831e57a774d34e3ee864b01c6891')
sha256sums=('126767bb56f8a1f25ae84d233db2e9b9be50d71f5776092d0e170ca0f0ed1862')
build() {
cmake -B build -S $pkgname-$pkgver \

@ -1,27 +0,0 @@
# Maintainer: Cory Sanin <corysanin@artixlinux.org>
# Maintainer: Maxime Arthaud <maxime@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
}
Loading…
Cancel
Save