[arch-commits] Commit in zxing-cpp/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Nov 30 08:54:53 UTC 2018
Date: Friday, November 30, 2018 @ 08:54:53
Author: arojas
Revision: 340657
Update to 1.0.0
Modified:
zxing-cpp/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-30 08:32:10 UTC (rev 340656)
+++ PKGBUILD 2018-11-30 08:54:53 UTC (rev 340657)
@@ -2,18 +2,18 @@
# Maintainer: Maxime Arthaud <maxime at arthaud.me>
pkgname=zxing-cpp
-pkgver=git20180320
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
_commit=5aad4744a3763d814df98a18886979893e638274
-pkgdesc="A command-line tool to decode QRCode"
+napkgdesc="A command-line tool to decode QRCode"
arch=(x86_64)
-url="https://github.com/glassechidna/zxing-cpp"
+url="https://github.com/nu-book/zxing-cpp"
license=(Apache)
depends=(gcc-libs)
-makedepends=(git cmake opencv gtk3)
+makedepends=(cmake)
optdepends=('opencv: support for opencv')
-source=("$pkgname::git+https://github.com/glassechidna/zxing-cpp.git#commit=$_commit")
-sha512sums=('SKIP')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/nu-book/zxing-cpp/archive/v$pkgver.tar.gz")
+sha256sums=('cac49af95b4afebce59cfa1b8b23421e5e1debee7d3fbf895394f6b9c0d7bf7e')
prepare() {
mkdir -p build
@@ -21,9 +21,8 @@
build() {
cd build
- cmake ../$pkgname \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC"
+ cmake ../$pkgname-$pkgver/core \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
More information about the arch-commits
mailing list