aboutsummaryrefslogtreecommitdiffstats
path: root/community/flatseal/APKBUILD
blob: 5b63ae16b8d9cb14b0c5872b289a79b3c5de0e7a (plain) (blame)
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
30
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=flatseal
pkgver=1.5.3
pkgrel=0
pkgdesc="Permission Manager for Flatpak"
url="https://github.com/tchx84/Flatseal"
arch="noarch !s390x !mips !mips64" # gjs
license="GPL-3.0-or-later"
depends="gjs libhandy gtk+3.0"
makedepends="meson gettext glib-dev"
checkdepends="desktop-file-utils appstream-glib"
subpackages="$pkgname-lang"
source="https://github.com/tchx84/Flatseal/archive/v$pkgver/flatseal-$pkgver.tar.gz"
builddir="$srcdir/Flatseal-$pkgver"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="b5be904025ec05e986b681c450a751191cda2fcfc72e59459ea8063253428f27fb53f6f3c6a696b5307aaaa7b983216bc26619110cb93c7165fbc3cbead087c4  flatseal-1.5.3.tar.gz"