pkgbuild-flatseal

Permissions manager for Flatpak
git clone git://fossdaily.xyz/pkgbuild-flatseal
Log | Files | Refs

commit 43a164b25eadadee3c1993e212c40c9cc224e2be
Author: caltlgin <contact@fossdaily.xyz>
Date:   Wed, 18 Nov 2020 16:50:42 +1300

Add to caltlgin repo

Diffstat:
A.SRCINFO | 20++++++++++++++++++++
A.gitignore | 4++++
APKGBUILD | 27+++++++++++++++++++++++++++
3 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = flatseal + pkgdesc = Permissions manager for Flatpak + pkgver = 1.6.4 + pkgrel = 1 + url = https://github.com/tchx84/Flatseal + arch = x86_64 + license = GPL3 + checkdepends = appstream-glib + checkdepends = desktop-file-utils + makedepends = meson + makedepends = vala + depends = flatpak + depends = gjs + depends = granite + depends = libhandy + source = Flatseal-1.6.4.tar.gz::https://github.com/tchx84/Flatseal/archive/v1.6.4.tar.gz + sha256sums = 87a33b53f05a438447303a2465a8b3e9758541fb665b1f93b8b813f14b9bb568 + +pkgname = flatseal + diff --git a/.gitignore b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> + +_pkgname='Flatseal' +pkgname="${_pkgname,,}" +pkgver=1.6.4 +pkgrel=1 +pkgdesc='Permissions manager for Flatpak' +arch=('x86_64') +url='https://github.com/tchx84/Flatseal' +license=('GPL3') +depends=('flatpak' 'gjs' 'granite' 'libhandy') +makedepends=('meson' 'vala') +checkdepends=('appstream-glib' 'desktop-file-utils') +source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('87a33b53f05a438447303a2465a8b3e9758541fb665b1f93b8b813f14b9bb568') + +build() { + arch-meson "${_pkgname}-${pkgver}" 'build' + meson compile -C 'build' +} + +package() { + DESTDIR="${pkgdir}" meson install -C 'build' + install -Dvm644 "${_pkgname}-${pkgver}/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: