[arch-commits] Commit in zxing-cpp (3 files)

Antonio Rojas arojas at archlinux.org
Fri Jul 20 19:11:46 UTC 2018


    Date: Friday, July 20, 2018 @ 19:11:46
  Author: arojas
Revision: 329123

archrelease: copy trunk to extra-x86_64

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

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

Copied: zxing-cpp/repos/extra-x86_64/PKGBUILD (from rev 329122, zxing-cpp/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD	                        (rev 0)
+++ repos/extra-x86_64/PKGBUILD	2018-07-20 19:11:46 UTC (rev 329123)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Maxime Arthaud <maxime at arthaud.me>
+
+pkgname=zxing-cpp
+pkgver=git20180320
+pkgrel=1
+_commit=5aad4744a3763d814df98a18886979893e638274
+pkgdesc="A command-line tool to decode QRCode"
+arch=(x86_64)
+url="https://github.com/glassechidna/zxing-cpp"
+license=(Apache)
+depends=(gcc-libs)
+makedepends=(git cmake opencv gtk3)
+optdepends=('opencv: support for opencv')
+source=("$pkgname::git+https://github.com/glassechidna/zxing-cpp.git#commit=$_commit")
+sha512sums=('SKIP')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list