pkgname: zint pkgver: '2.16.0' pkgrel: '1' pkgdesc: 'Barcode encoding library supporting over 50 symbologies' url: 'https://zint.org.uk/' arch: x86_64 depends: [] makedepends: - cmake - 'qt6-tools' - 'qt6-svg' - libpng source: - 'https://github.com/zint/zint/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DZINT_QT6=ON cmake --build build DESTDIR=${PKGDIR} cmake --install build install -Dm644 ${pkgname}-${pkgver}/zint-qt.png ${PKGDIR}/usr/share/icons/hicolor/48x48/apps/zint-qt.png install -Dm644 ${pkgname}-${pkgver}/zint-qt.desktop ${PKGDIR}/usr/share/applications/zint-qt.desktop package: | true