[arch-commits] Commit in malcontent/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Mar 27 19:34:47 UTC 2020


    Date: Friday, March 27, 2020 @ 19:34:46
  Author: heftig
Revision: 378565

archrelease: copy trunk to extra-x86_64

Added:
  malcontent/repos/extra-x86_64/
  malcontent/repos/extra-x86_64/PKGBUILD
    (from rev 378564, malcontent/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: malcontent/repos/extra-x86_64/PKGBUILD (from rev 378564, malcontent/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-03-27 19:34:46 UTC (rev 378565)
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=malcontent
+pkgver=0.7.0
+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)
+provides=(libmalcontent{,-ui}-${pkgver%%.*}.so)
+_commit=2e8a07d58c047f757e36a5fcf1d5b76faae08e75  # tags/0.7.0^0
+source=("git+https://gitlab.freedesktop.org/pwithnall/malcontent.git#commit=$_commit"
+        "git+https://gitlab.gnome.org/pwithnall/libglib-testing.git")
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git submodule set-url subprojects/libglib-testing "$srcdir/libglib-testing"
+  git submodule update
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -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"
+}



More information about the arch-commits mailing list