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

Antonio Rojas arojas at archlinux.org
Tue Jul 9 19:48:13 UTC 2019


    Date: Tuesday, July 9, 2019 @ 19:48:13
  Author: arojas
Revision: 357485

archrelease: copy trunk to staging-x86_64

Added:
  zxing-cpp/repos/staging-x86_64/
  zxing-cpp/repos/staging-x86_64/PKGBUILD
    (from rev 357484, zxing-cpp/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: zxing-cpp/repos/staging-x86_64/PKGBUILD (from rev 357484, zxing-cpp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-07-09 19:48:13 UTC (rev 357485)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Maxime Arthaud <maxime at arthaud.me>
+
+pkgname=zxing-cpp
+pkgver=1.0.6
+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=('c0c380b27ad9d8e90fe91e741810bbf695c58ca4a31e4403fb564182f19df0f6')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=None \
+    -DBUILD_SHARED_LIBRARY=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list