aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-software-plugin-apk/APKBUILD
blob: b2d2858af97a5fdaa5ffabe2631545b0bdf6d92c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-software-plugin-apk
pkgver=0.2.1
pkgrel=0
pkgdesc="APK plugin for GNOME Software"
url="https://github.com/Cogitri/gnome-software-plugin-apk"
arch="x86_64 aarch64" # apk-polkit
license="GPL-2.0-or-later"
makedepends="meson gnome-software-dev gnome-software-static apk-polkit-dev"
options="!check" # no tests
source="https://github.com/Cogitri/gnome-software-plugin-apk/archive/v$pkgver/gnome-software-plugin-apk-$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="2f17452ec1b50f7b0b1a2a2d6dc62a294e7e584002cad517f3b1013333103494a07fd15aaaa1ff459b038ef54e615426368f1b92674862e9017e90f34707c05d  gnome-software-plugin-apk-0.2.1.tar.gz"