Date: Saturday, September 12, 2020 @ 20:11:56 Author: arojas Revision: 395955
Update to 1.1.1 Modified: zxing-cpp/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-09-12 19:53:34 UTC (rev 395954) +++ PKGBUILD 2020-09-12 20:11:56 UTC (rev 395955) @@ -2,8 +2,8 @@ # Maintainer: Maxime Arthaud <max...@arthaud.me> pkgname=zxing-cpp -pkgver=1.1.0 -pkgrel=3 +pkgver=1.1.1 +pkgrel=1 pkgdesc="A C++ library to decode QRCode" arch=(x86_64) url="https://github.com/nu-book/zxing-cpp" @@ -11,19 +11,8 @@ depends=(gcc-libs) makedepends=(cmake) source=($pkgname-$pkgver.tar.gz::"https://github.com/nu-book/zxing-cpp/archive/v$pkgver.tar.gz") -sha256sums=('283574a817a6efdb38e4f0480fb7697e9b1f90b55d6b16e92e1a2d2af9c43506') +sha256sums=('e595b3fa2ec320beb0b28f6af56b1141853257c2611686685639cebb3b248c86') -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 \