pmaports/temp/gnome-software-plugin-apk/APKBUILD

30 lines
948 B
Text
Raw Normal View History

# Forked from Alpine to fix dependency handling in pmbootstrap
pkgname=gnome-software-plugin-apk
pkgver=9999
_pkgver=0.9.2
pkgrel=1
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"
options="!check" # no tests
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
}
sha512sums="
ad43fb7faa4b1915166c5513316573fddda5491f2a46300e66219198deb6aa4df2388897dc4f8fd4135548cd67da4201fde1acb48957b35474859b75ff222f81 gnome-software-plugin-apk-0.9.2.tar.gz
"