[arch-commits] Commit in libgsystem/repos (community-x86_64 community-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue May 18 14:44:22 UTC 2021


    Date: Tuesday, May 18, 2021 @ 14:44:22
  Author: heftig
Revision: 936262

archrelease: copy trunk to community-x86_64

Added:
  libgsystem/repos/community-x86_64/
  libgsystem/repos/community-x86_64/PKGBUILD
    (from rev 936261, libgsystem/trunk/PKGBUILD)

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

Copied: libgsystem/repos/community-x86_64/PKGBUILD (from rev 936261, libgsystem/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-05-18 14:44:22 UTC (rev 936262)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libgsystem
+pkgver=2015.2+4+gd606bec
+pkgrel=3
+pkgdesc='"Copylib" for system service modules using GLib with GCC'
+url="https://wiki.gnome.org/Projects/LibGSystem"
+license=(GPL2)
+arch=(x86_64)
+depends=(glib2 systemd-libs attr)
+makedepends=(gobject-introspection gtk-doc systemd git)
+_commit=d606bec68ddfea78de4b03c3f3568afb71bdc1ce  # master
+source=("git+https://gitlab.gnome.org/Archive/libgsystem.git#commit=$_commit"
+        "git+https://gitlab.gnome.org/GNOME/libglnx.git")
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Fix header file location
+  sed -i 's|attr/xattr|sys/xattr|g' configure.ac
+
+  git submodule init
+  git config --local submodule.libglnx.url "$srcdir/libglnx"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --enable-gtk-doc
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list