2022-01-25 11:54:23 +00:00
|
|
|
# Forked from Alpine to fix dependency handling in pmbootstrap
|
|
|
|
|
|
|
|
pkgname=gnome-software-plugin-apk
|
|
|
|
pkgver=9999
|
2022-05-10 12:51:14 +00:00
|
|
|
_pkgver=0.10.0
|
|
|
|
pkgrel=2
|
2022-01-25 11:54:23 +00:00
|
|
|
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"
|
2022-05-10 12:51:14 +00:00
|
|
|
checkdepens="py3-dbusmock"
|
|
|
|
options="!check" # tests will fail if gnome-software-plugin-apk is installed
|
2022-01-25 11:54:23 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2022-05-10 12:51:14 +00:00
|
|
|
check() {
|
|
|
|
meson test --no-rebuild -C output
|
|
|
|
}
|
|
|
|
|
2022-01-25 11:54:23 +00:00
|
|
|
sha512sums="
|
2022-05-10 12:51:14 +00:00
|
|
|
070812ebd5da29f0b88dab3875600f2a17bb9df30dea4db8682d9c4a3878006b4e25c28b1b58bc12e6712b10c4c708da70368695d82ab8e5ed07543ba3406955 gnome-software-plugin-apk-0.10.0.tar.gz
|
2022-01-25 11:54:23 +00:00
|
|
|
"
|