void-packages/srcpkgs/zxing-cpp/template

24 lines
724 B
Bash

# Template file for 'zxing-cpp'
pkgname=zxing-cpp
version=1.2.0
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=OFF -DBUILD_BLACKBOX_TESTS=OFF"
short_desc="Multi-format 1D/2D barcode image processing library"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://github.com/nu-book/zxing-cpp/"
distfiles="https://github.com/nu-book/zxing-cpp/archive/refs/tags/v${version}.tar.gz"
checksum=653d9e44195d86cf64a36af9ff3a1978ec5599df3882439fefa56e7064f55e8a
zxing-cpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}