# Forked from Alpine to fix dependency handling in pmbootstrap pkgname=gnome-software-plugin-apk pkgver=9999 _pkgver=0.10.0 pkgrel=2 pkgdesc="APK plugin for GNOME Software" url="https://github.com/Cogitri/gnome-software-plugin-apk" arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # apk-polkit-rs license="GPL-2.0-or-later" makedepends="meson gnome-software-dev apk-polkit-rs-dev" checkdepens="py3-dbusmock" options="!check" # tests will fail if gnome-software-plugin-apk is installed subpackages="$pkgname-dbg" source="$pkgname-$_pkgver.tar.gz::https://github.com/Cogitri/gnome-software-plugin-apk/archive/v$_pkgver.tar.gz" install_if="gnome-software" builddir="$srcdir/$pkgname-$_pkgver" build() { abuild-meson . output meson compile ${JOBS:+-j ${JOBS}} -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } check() { meson test --no-rebuild -C output } sha512sums=" 070812ebd5da29f0b88dab3875600f2a17bb9df30dea4db8682d9c4a3878006b4e25c28b1b58bc12e6712b10c4c708da70368695d82ab8e5ed07543ba3406955 gnome-software-plugin-apk-0.10.0.tar.gz "