pkgname: appstream-qt pkgver: '1.1.6' pkgrel: '1' pkgdesc: Qt6 interface for AppStream url: 'https://distributions.freedesktop.org/wiki/AppStream' arch: x86_64 license: - LGPL2.1 depends: [] makedepends: - snowball - qt6-base - qt6-tools - libxmlb - gi-docgen - gobject-introspection - libfyaml - gperf - itstool - meson - vala - xmlto - docbook-xsl source: - 'https://www.freedesktop.org/software/appstream/releases/AppStream-${pkgver}.tar.xz' sha256sums: - e298929f39729e84a70f6be6941f3e7f3fc2ee3c83cb3ea1b1b5b280a8fe3a24 build: | cd AppStream-${pkgver} sed -i 's/xsl-ns/xsl/' docs/meson.build mkdir build cd build meson setup .. \ --prefix=/usr \ --libdir=lib \ --libexecdir=lib \ --buildtype=release \ -Dqt=true \ -Dvapi=true \ -Dcompose=true \ -Dblake3-support=false ninja DESTDIR=${PKGDIR} ninja install # provided by appstream rm -rf ${PKGDIR}/usr/{bin,include/appstream{,-compose},lib/{appstreamcli-compose,girepository-1.0,libappstream*,pkgconfig},share} install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING package: | true