aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flatseal/APKBUILD
blob: bac3fea7d6a45882f5a70ad4e08b1782d962d5af (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
31
32
33
34
35
36
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=flatseal
pkgver=1.3.1
pkgrel=0
pkgdesc="Permission Manager for Flatpak"
url="https://github.com/tchx84/Flatseal"
arch="noarch !s390x" # 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() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="cb5c7a3c7251b6fc87d3bac1cdf03c5a2adc3c42183dec96a58ffbd098b30eec40d499b7ed0867b8185fd99258f4746d517f6117053651ce083c81fa3098a6d6  flatseal-1.3.1.tar.gz"