qrcodegen: update to 1.7.0.

Also:
- fix file names for cpp header and static lib (upstream).
This commit is contained in:
mobinmob 2021-09-20 14:20:31 +03:00 committed by John Zimmermann
parent a005e7bc6d
commit 2c99f4bf75

View file

@ -1,14 +1,14 @@
# Template file for 'qrcodegen'
pkgname=qrcodegen
version=1.6.0
revision=3
version=1.7.0
revision=1
wrksrc="QR-Code-generator-${version}"
short_desc="QR Code generator library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.nayuki.io/page/qr-code-generator-library"
distfiles="https://github.com/nayuki/QR-Code-generator/archive/v${version}.tar.gz"
checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8
checksum=a8138d84a2adbc9168bfadfb9db5272c89b69fb87f72a88ecd08ce7f402ee710
CXXFLAGS="-fPIC"
@ -22,8 +22,8 @@ do_build() {
do_install() {
sed -n "/^License/,/xxxx/p" Readme.markdown > LICENSE
vlicense LICENSE
vinstall cpp/QrCode.hpp 644 usr/include/qrcodegen
vinstall cpp/libqrcodegen.a 644 usr/lib libqrcodegencpp.a
vinstall cpp/qrcodegen.hpp 644 usr/include/qrcodegen
vinstall cpp/libqrcodegencpp.a 644 usr/lib libqrcodegencpp.a
vinstall c/qrcodegen.h 644 usr/include/qrcodegen
vinstall c/libqrcodegen.a 644 usr/lib
}