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

Antonio Rojas arojas at archlinux.org
Thu May 16 19:35:17 UTC 2019


    Date: Thursday, May 16, 2019 @ 19:35:17
  Author: arojas
Revision: 353481

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 32 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-16 19:34:56 UTC (rev 353480)
+++ PKGBUILD	2019-05-16 19:35:17 UTC (rev 353481)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Maxime Arthaud <maxime at arthaud.me>
-
-pkgname=zxing-cpp
-pkgver=1.0.4
-pkgrel=2
-pkgdesc="A command-line tool 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"
-        zxing-cpp-shared.patch::"https://github.com/nu-book/zxing-cpp/commit/f77a2db2.patch")
-sha256sums=('e3bb5c135523638ca875c242efb958742b4b8e02a1acdf6b182ecd85021463dd'
-            '40045b7d32d3f435a50a1398ff1ed90605cff75f1496d2dc0964c7f9c7cc790e')
-
-prepare() {
-  mkdir -p build
-
-  cd $pkgname-$pkgver
-  patch -p1 -i ../zxing-cpp-shared.patch # Allow to build shared library
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver/core \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC" \
-    -DBUILD_SHARED_LIBRARY=ON
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: zxing-cpp/repos/extra-x86_64/PKGBUILD (from rev 353480, zxing-cpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-16 19:35:17 UTC (rev 353481)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Maxime Arthaud <maxime at arthaud.me>
+
+pkgname=zxing-cpp
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="A command-line tool 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=('65bf1e7c45cc5330f8e399b6cff5a3e4e9190ce6fe389b9cc5c8fc180838c60a')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver/core \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC" \
+    -DBUILD_SHARED_LIBRARY=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list