blob: b0300917705fc71e3e344fbd6d2aff08d048f7e5 (
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
30
31
32
33
|
pkgname=malcontent-git
_pkgname=malcontent
pkgver=0.9.0+5+gbbe53b5
pkgrel=1
pkgdesc="Parental control support for applications"
url="https://gitlab.freedesktop.org/pwithnall/malcontent"
license=(LGPL2.1)
arch=(x86_64)
depends=('accountsservice' 'dbus' 'flatpak' 'glib2' 'gtk3' 'polkit')
makedepends=('git' 'meson' 'gobject-introspection' 'gtk-doc' 'libglib-testing' 'yelp-tools')
provides=(libmalcontent{,-ui}-${pkgver%%.*}.so 'malcontent')
conflicts=('malcontent')
source=("git+https://gitlab.freedesktop.org/pwithnall/malcontent.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
arch-meson $_pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
}
|