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

Antonio Rojas arojas at archlinux.org
Sat Sep 12 20:12:06 UTC 2020


    Date: Saturday, September 12, 2020 @ 20:12:05
  Author: arojas
Revision: 395956

archrelease: copy trunk to extra-x86_64

Added:
  zxing-cpp/repos/extra-x86_64/PKGBUILD
    (from rev 395955, zxing-cpp/trunk/PKGBUILD)
Deleted:
  zxing-cpp/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++------------------------------------
 1 file changed, 26 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-12 20:11:56 UTC (rev 395955)
+++ PKGBUILD	2020-09-12 20:12:05 UTC (rev 395956)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Maxime Arthaud <maxime at arthaud.me>
-
-pkgname=zxing-cpp
-pkgver=1.1.0
-pkgrel=3
-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=($pkgname-$pkgver.tar.gz::"https://github.com/nu-book/zxing-cpp/archive/v$pkgver.tar.gz")
-sha256sums=('283574a817a6efdb38e4f0480fb7697e9b1f90b55d6b16e92e1a2d2af9c43506')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Fix pkg-config file
-  # https://github.com/nu-book/zxing-cpp/commit/877b6db1613ddae58e570801920f089c0f64b97f
-  # https://github.com/nu-book/zxing-cpp/issues/156
-  sed -e 's/@VERSION@/@PROJECT_VERSION@/' \
-      -e 's/@TARGET_ZXING@/ZXing/' \
-      -i zxing.pc.in
-}
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DBUILD_EXAMPLES=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: zxing-cpp/repos/extra-x86_64/PKGBUILD (from rev 395955, zxing-cpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-12 20:12:05 UTC (rev 395956)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Maxime Arthaud <maxime at arthaud.me>
+
+pkgname=zxing-cpp
+pkgver=1.1.1
+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=($pkgname-$pkgver.tar.gz::"https://github.com/nu-book/zxing-cpp/archive/v$pkgver.tar.gz")
+sha256sums=('e595b3fa2ec320beb0b28f6af56b1141853257c2611686685639cebb3b248c86')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DBUILD_EXAMPLES=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}


More information about the arch-commits mailing list