# Contributor: Rasmus Thomsen # Maintainer: Pablo Correa Gomez pkgname=appstream-generator pkgver=0.9.0 pkgrel=10 pkgdesc="fast AppStream metadata generator" url="https://github.com/ximion/appstream-generator" arch="x86_64 aarch64" # ldc license="LGPL-3.0-or-later" depends="optipng ffmpeg" # coreutils: needs cp with --no-preserve-ownership makedepends=" appstream-dev cairo-dev coreutils curl-dev fontconfig-dev freetype-dev gdk-pixbuf-dev gir-to-d glibd-dev gobject-introspection-dev ldc libarchive-dev librsvg-dev lmdb-dev meson pango-dev yarn " options="net" subpackages="$pkgname-doc" source="https://github.com/ximion/appstream-generator/archive/v$pkgver/appstream-generator-$pkgver.tar.gz rpmmd-fix.patch " build() { abuild-meson -Drpmmd=false . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 2bc305a0e22b2e40543accb572835eb117e8a46aae4bfb0d916c828603d5819873d9b66bd99da99c470d00b6b8adbb9bc049006832f9e9dbb4316c167983d3c3 appstream-generator-0.9.0.tar.gz 417350590e1de259fcb4d6a4e49ccfe5ca1226e7b98396f164440c823ebaa0d9a031955edae7df8ae6a80db959d9ba53d674024689b2f7b7e80728961e5f0e16 rpmmd-fix.patch "